radames commited on
Commit
2a87721
β€’
1 Parent(s): e42e2d6

use latest node

Browse files
Files changed (1) hide show
  1. install-node.sh +2 -1
install-node.sh CHANGED
@@ -1,7 +1,8 @@
1
  curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
2
  export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
3
  [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
4
- nvm install --lts
 
5
  node --version
6
  npm --version
7
  which node
 
1
  curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
2
  export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
3
  [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
4
+ nvm install v18.3.0
5
+ nvm use v18.3.0
6
  node --version
7
  npm --version
8
  which node