Skip to content

Instantly share code, notes, and snippets.

@tomsihap
Created December 23, 2018 14:46
Show Gist options
  • Star 76 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • Save tomsihap/e703b9b063ecc101f5a4fc0b01a514c9 to your computer and use it in GitHub Desktop.
Save tomsihap/e703b9b063ecc101f5a4fc0b01a514c9 to your computer and use it in GitHub Desktop.
Install NVM in Ubuntu 18.04 with ZSH
# Find the latest version on https://github.com/creationix/nvm#install-script
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
# Add in your ~/.zshrc the following:
export NVM_DIR=~/.nvm
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
$ source ~/.zshrc
# Usage :
$ nvm install node
@kelciocajueiro
Copy link

Thank you! Mine worked using export NVM_DIR="$HOME/.nvm"

@Lilkedus
Copy link

Thank you so much! 😊

Copy link

ghost commented Dec 13, 2020

Thanks !!!!👍👍👍

@Doung1118
Copy link

you're Hero

@jhmarina
Copy link

jhmarina commented Jan 7, 2021

Thanks!

@jhon11390
Copy link

Thanks...

@irving-caamal
Copy link

NVM doesn't change anything, Still working...

@kemalmutlu
Copy link

Thanks, it's working.

@alannaidon
Copy link

Thanks!!

@JGuilhermeCoelho
Copy link

Thanks!! 😄

Copy link

ghost commented Apr 5, 2021

Thank you

@AlisonPinheiro
Copy link

Thanks !

@georg3103
Copy link

Thanks!!!

@shuvo-me
Copy link

Thanks a humongous man

@whitesoundcl
Copy link

Thanks a loooot!

@barrozorcb
Copy link

Thanks man, you save my day!!!

@amanda-natallie
Copy link

Thank you!!

@rachidamrani
Copy link

Thank you!

@ajparrah
Copy link

Thank you!

@mdrijwan
Copy link

when i run nvm install node

it throws me this

Version 'node' not found - try `nvm ls-remote` to browse available versions.

and then when i run nvm ls-remote

it throws me this

❯ nvm ls-remote
            N/A

@lucasbrito3001
Copy link

Thaaanks man, you save me!

@ishaimou
Copy link

Thaaaaaaaanks !

@mukhinid
Copy link

Saved my day, thanks!

@Bookwardensigb
Copy link

Thanks !

@andersonleite1
Copy link

Thanks!

@Yuri-Lima
Copy link

Thanks!

@miozus
Copy link

miozus commented Dec 6, 2022

many thanks

@VGabriel-7
Copy link

VGabriel-7 commented Apr 21, 2023

Thanks!!
You helped me a lot!

@DeepaPrasanna
Copy link

thanks this worked !

@joonalarcon
Copy link

Thanks bro, very simple and efective :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment