zsh-nvm
zsh-nvm copied to clipboard
`unknown condition: -ne` when executing `nvm install --lts` while latest LTS version of Node.js is already installed
Steps to reproduce:
- run
nvm install --lts
to install the latest LTS version (v18.12.0 as of this writing) of Node.js - run
nvm install --lts
again.
Output:
Installing latest LTS version.
v18.12.0 is already installed.
Now using node v18.12.0 (npm v8.19.2)
_zsh_nvm_nvm:[:523: unknown condition: -ne
_zsh_nvm_nvm:[:528: unknown condition: -ne
_zsh_nvm_nvm:[:541: unknown condition: -ne
Hello, @ksze please see here: https://github.com/nvm-sh/nvm/issues/2914.