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 worksudo: port: command not found

comment:2 Changed 2 years ago by jmroot (Joshua Root)

You need /opt/local/bin in your PATH 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 new PATH setting until you start a new shell.

comment:3 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Component: portsbase
Description: modified (diff)

comment:4 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.