Advertisement
J-Tech

nvm installer + 13.12.0

Mar 30th, 2020
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.39 KB | None | 0 0
  1. #!/bin/bash
  2. curl https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
  3. export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
  4. [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
  5.  
  6. nvm install 13.12.0
  7.  
  8. nvm use 13.12.0
  9.  
  10. echo "nvm and nodejs 13.12.0 are now installed."
  11. read -p "" Iuwoquwoqoe # random character set
  12. clear
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement