How do I set user PATH permanently to be able to access Pipenv from the zsh shell on Mac Catalina?
I am installing Pipenv for the first time. After successful installation, I cannot access it from the zsh shell. However, when I ran this code (I found somewhere else):
PYTHON_BIN_PATH="$(python3 -m site --user-base)/bin"
PATH="$PATH:$PYTHON_BIN_PATH"
I am able to run Pipenv from the terminal but only for that instance. Because, when I close and reopen the terminal, it doesn't work again until I run the code over again.
User@User-- ~ % pipenv
Error
zsh: command not found: pipenv
brew install pipenv
man zsh
for an overview of the fileszsh
looks at on startup. The process is both broader and slightly different from howbash
works.