| cd ~ | cd ~ | ||||
| curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | ||||
| curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash | curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash | ||||
| sudo source ~/.bashrc | |||||
| source ~/.bashrc | |||||
| nvm list-remote | nvm list-remote | ||||
| nvm install v16.19.0 | |||||
| echo "Enter the version of node you want to install:" | |||||
| read nodeversion | |||||
| nvm $nodeversion | |||||
| #ADDING GIT DOMAIN NAME TO HOSTS | #ADDING GIT DOMAIN NAME TO HOSTS | ||||
| # echo "10.10.5.77 git.bbh.org.in" >> /etc/hosts | # echo "10.10.5.77 git.bbh.org.in" >> /etc/hosts |