Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unknown condition: -ne when executing nvm install --lts while latest LTS version of Node.js is already installed #92

Open
ksze opened this issue Oct 28, 2022 · 1 comment

Comments

@ksze
Copy link

ksze commented Oct 28, 2022

Steps to reproduce:

  1. run nvm install --lts to install the latest LTS version (v18.12.0 as of this writing) of Node.js
  2. 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
@fearnliu
Copy link

fearnliu commented Nov 2, 2022

Hello, @ksze please see here: nvm-sh/nvm#2914.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants