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

-bash: nvm: command not found #685

Closed
SerkanSipahi opened this issue Mar 5, 2015 · 2 comments
Closed

-bash: nvm: command not found #685

SerkanSipahi opened this issue Mar 5, 2015 · 2 comments
Labels
bugs Oh no, something's broken :-( installing node Issues with installing node/io.js versions.

Comments

@SerkanSipahi
Copy link

i use iojs v1.4.3 and want to install nvm. As you can see (below) the installation was successful. But if i execute on terminal nvm i get an error -bash: nvm: command not found. Please tell me what im doing wrong? I also have reopen my terminal.

It create in .bashrc:

export NVM_DIR="/Users/foo/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"  # This loads nvm
=> Downloading nvm from git to '/Users/foo/.nvm'
=> Cloning into '/Users/foo/.nvm'...
remote: Counting objects: 3420, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3420 (delta 0), reused 0 (delta 0), pack-reused 3417
Receiving objects: 100% (3420/3420), 681.81 KiB | 456.00 KiB/s, done.
Resolving deltas: 100% (1953/1953), done.
Checking connectivity... done.

=> Source string already in /Users/foo/.bashrc
=> Close and reopen your terminal to start using nvm
@SerkanSipahi
Copy link
Author

I figured out

With curl https://raw.githubusercontent.com/creationix/nvm/v0.23.3/install.sh | bash it doesnt works but with git clone https://github.com/creationix/nvm.git ~/.nvm && cd ~/.nvm && git checkout git describe --abbrev=0 --tags and then source ~/.nvm/nvm.sh it works well :)

@ljharb ljharb added installing node Issues with installing node/io.js versions. bugs Oh no, something's broken :-( labels Mar 5, 2015
@ljharb
Copy link
Member

ljharb commented Mar 5, 2015

I believe this is a duplicate of #559

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugs Oh no, something's broken :-( installing node Issues with installing node/io.js versions.
Projects
None yet
Development

No branches or pull requests

2 participants