What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-09-01 08:18:02
install npm in wsl
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash echo 'export NVM_DIR="/home/yourusername/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' > ~/.bashrc source ~/.nvm/nvm.sh ... Add solution -
-
-
-
Shell/Bash 2021-08-29 07:37:02
how to remove nvm
Essentially you'd need to reverse the steps in install.sh - remove any nvm lines from ~/.bash_profile (and/or ~/.profile), rm -rf ~/.nvm, and either reopen your shell, or re-source your bash profile. However, simply removing the nvm commands from your .b... Add solution -
Shell/Bash 2021-08-29 04:43:03
how use nvm with zsh
git clone https://github.com/lukechilds/zsh-nvm ~/.oh-my-zsh/custom/plugins/zsh-nvm // edit .zshrc file and add to plugins plugins+=(zsh-nvm) // After the save, close the terminal re-open and install the version of node you want nvm install 12 // Magicall... Add solution -
Shell/Bash 2021-08-28 19:08:02
ubuntu nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" [ -s "$... Add solution