Opened 2 years ago
Closed 2 years ago
#66049 closed defect (worksforme)
sudo: port: command not found
Reported by: | TayAki79 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | |
Keywords: | Cc: | ||
Port: | git |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
After installing macport and pasting sudo port install git, I received the following output:
sudo: port: command not found
Can you help me with this?
Change History (4)
comment:1 Changed 2 years ago by TayAki79
Summary: | Installation does not work → sudo: port: command not found |
---|
comment:2 Changed 2 years ago by jmroot (Joshua Root)
comment:3 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
Component: | ports → base |
---|---|
Description: | modified (diff) |
comment:4 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
You need
/opt/local/bin
in yourPATH
environment variable, usually added to one of your shell's startup files. See https://guide.macports.org/chunked/installing.shell.html for reference. If you just ran the installer, your terminal won't pick up the newPATH
setting until you start a new shell.