mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-07-03 22:23:43 +00:00
14 lines
370 B
Bash
14 lines
370 B
Bash
#!/bin/bash
|
|
|
|
# install nvm and nodejs
|
|
|
|
# NVM
|
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
|
|
|
|
# at this point check if script to load nvm was added to profile or others profiles such as .bashrc
|
|
# if was not add make script that add's the export script
|
|
# reload profile edited eg. `source ~/.bash_profile`
|
|
|
|
# install node
|
|
nvm install node
|