Nvm: Installed the new version, but it won't open

Created on 16 Aug 2016  路  15Comments  路  Source: nvm-sh/nvm

I get:

This is not the package you are looking for: please go to http://nvm.sh

Most helpful comment

You also need to npm uninstall -g nvm as well. I'll be happy to leave this open until you've fixed your issue, if you prefer.

All 15 comments

The nvm on npm is not correct (and never has been). Instead, please install with the curl command in the readme of this repository.

Thanks for closing the question....

That's exactly what I did, and it still didn't work.
Used:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.4/install.sh | bash

Still get the error

You also need to npm uninstall -g nvm as well. I'll be happy to leave this open until you've fixed your issue, if you prefer.

Yep, still doesn't work. Did that already.
Doesn't matter how I remove nvm. It still gives me the the error after installing it fresh

Can you paste the command are you using to install it fresh?

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.4/install.sh | bash

OK - and if you run which nvm, what shows up? (presumably while running nvm gives you the same error)

/usr/local/bin/nvm

and if you run sudo npm uninstall -f nvm and then which nvm, is it still there?

If so, you may need to manually remove it.

I get an error:
uninstall not installed in /Users/david/.nvm/node_modules: "nvm"

Which directory should I run the uninstall from?

oh oops, sorry. sudo npm uninstall -g nvm - it should work from any directory.

although also i'd recommend rm -rf ~/.nvm so it's starting fresh with that as well (and rm -rf /usr/local/bin/nvm if the npm uninstall fails)

ah! ok, using -g worked.
Now when I run which nvm, nothing shows up

Ran curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.4/install.sh | bash again.

had to do the export commands manually, but it worked!

Thank you, and please close this thread

Great, glad to hear it!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cdelorme picture cdelorme  路  5Comments

danielepolencic picture danielepolencic  路  4Comments

reneruiz picture reneruiz  路  4Comments

markedcahinde picture markedcahinde  路  5Comments

tongxiaofeng picture tongxiaofeng  路  5Comments