Using zsh and mcports. Command not found

macportsterminalzsh

I installed macports but I use zsh. What should I modify in the .zshrc file to get it to look for macports? I think macports is located in /opt/local/bin/port

Best Answer

  • if you're using zsh and you installed using the package:

    open ~/.zshrc

    go to export PATH = ... under # User Configuration

    add /opt/local/bin to the end of export PATH

    restart terminal

    type port version to see if it's installed

  • Related Question