fnm icon indicating copy to clipboard operation
fnm copied to clipboard

Zsh shell setup command did not work for me

Open aleksebastian opened this issue 1 year ago • 2 comments

Installed via homebrew and tried adding eval "$(fnm env --use-on-cd --shell zsh)" to my .zshrc file per the documentation but running node -v on a new terminal would give me:

zsh: command not found: node

Switching the provided command to the following that I found on my other computer finally made it work for me:

export PATH="/Users/work/Library/Application Support/fnm:$PATH"
eval "`fnm env`"

On an M1 MacBook Pro running macOS 15.0.1

aleksebastian avatar Oct 10 '24 20:10 aleksebastian

I experienced the same issue. For some reason this directory isn't getting created on initial install with homebrew?

AllySummers avatar Oct 11 '24 10:10 AllySummers

same

bugzpodder avatar Oct 15 '24 14:10 bugzpodder

Is that comment: https://github.com/Schniz/fnm/issues/824#issuecomment-2291882222 helping?

thoroc avatar Dec 04 '24 12:12 thoroc