fnm
fnm copied to clipboard
Zsh shell setup command did not work for me
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
I experienced the same issue. For some reason this directory isn't getting created on initial install with homebrew?
same
Is that comment: https://github.com/Schniz/fnm/issues/824#issuecomment-2291882222 helping?