Skip to content

Instantly share code, notes, and snippets.

@RandyMcMillan
Created July 10, 2024 20:02
Show Gist options
  • Save RandyMcMillan/36b0e0fd2092324a7adc909922454e72 to your computer and use it in GitHub Desktop.
Save RandyMcMillan/36b0e0fd2092324a7adc909922454e72 to your computer and use it in GitHub Desktop.
make:install-nvm
install-nvm:
@curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash || \
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
@. $(HOME)/.nvm/nvm.sh &>/dev/null && nvm install $(shell cat .nvmrc) &>/dev/null && nvm use
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment