Opened 5 years ago
Closed 5 years ago
#59263 closed defect (fixed)
PATH not set by installer with zsh (such as on Catalina)
Reported by: | knightjp | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts 2.6.2 |
Component: | base | Version: | 2.6.1 |
Keywords: | catalina | Cc: | jmroot (Joshua Root) |
Port: |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I installed Macports on a fresh install of Catalina. Upon using the command:
sudo port install <package>
I get the following error
sudo: port: command not found.
Is there something I’m missing?
I used the very same routine I used on all my Macports installs .
Attachments (1)
Change History (6)
Changed 5 years ago by knightjp
Attachment: | D5E9B62A-75CD-4126-B0B3-F65AC3FAFCF1.jpeg added |
---|
comment:1 Changed 5 years ago by jmroot (Joshua Root)
comment:2 Changed 5 years ago by jmroot (Joshua Root)
Component: | ports → base |
---|---|
Keywords: | catalina added |
Summary: | Cannot install packages on Catalina → PATH not set by installer with zsh (such as on Catalina) |
comment:3 Changed 5 years ago by jmroot (Joshua Root)
Cc: | jmroot added |
---|---|
Priority: | Not set → Normal |
comment:4 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:5 Changed 5 years ago by jmroot (Joshua Root)
Milestone: | → MacPorts 2.6.2 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
If you installed from the .pkg and are using zsh as your login shell (which is the new default on Catalina), you won't get the changes to PATH that the installer tries to make. See the Guide and PR #152. You need to open a new shell after modifying your shell config files in order for them to be loaded.