Skip to content

Instantly share code, notes, and snippets.

@k3karthic
Created September 7, 2021 05:29
Show Gist options
  • Save k3karthic/3f2f20d96a14d852584b75757228c62d to your computer and use it in GitHub Desktop.
Save k3karthic/3f2f20d96a14d852584b75757228c62d to your computer and use it in GitHub Desktop.
Update NVM Node
#!/usr/bin/env bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
nvm install 'lts/*' --reinstall-packages-from=current
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment