Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

node version manager install

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

  OR

  wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
Comment

node version manager

# Follow This to install nvm for fish-shell
fisher install jorgebucaran/nvm.fish ## This will install fish package manager Fisher
# Then install Nvm package made for fish shell https://github.com/jorgebucaran/nvm.fish
fisher install jorgebucaran/nvm.fish
# Then restart or write this
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"

## Install Node.js
nvm list-remote # to see all available node.js versions remotely
# Install particular Verson . You can install as many versions as you want as use one
nvm insall <version> ## example : nvm install 17.3.0
# use nvm list to list local installed versions and then use one version installed version
nvm use <version> ## example  : nvm use 17.3.0
# Now node.js is installed and using successfully
Comment

PREVIOUS NEXT
Code Example
Shell :: git merge tag to branch and squash commits 
Shell :: deploy docker to heroku 
Shell :: create requirements file from project add them to poetry dependency 
Shell :: how to leave a directory on terminal 
Shell :: sed replace word with newline 
Shell :: bash append to a file 
Shell :: how to make a file executable in linux 
Shell :: print first word of each line by grep 
Shell :: wsl import 
Shell :: exit status bash 
Shell :: how to install and connect to ftp on ubuntu 18 
Shell :: sublime text 
Shell :: ionic 
Shell :: git get latest log output to file 
Shell :: boot pendrive windows cmd 
Shell :: Difference between user and group in Linux 
Shell :: command to open snap gui 
Shell :: ubuntu upgrade libstdc++ 
Shell :: git push 
Shell :: linux apt ignore not found package 
Shell :: opencart install extension Invalid file type! 
Shell :: how to install alacritty on ubuntu 
Shell :: t.references rails 
Shell :: install docker-machine-driver-hyperkit 
Shell :: how to install clipman for linux 
Shell :: show seconds in ubuntu 20.04 
Shell :: run katalon docker image 
Shell :: hardhat required npm packages install 
Shell :: how to fetch all git branches 
Shell :: delete iptable rule linux 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =