Created
July 10, 2024 20:02
-
-
Save RandyMcMillan/36b0e0fd2092324a7adc909922454e72 to your computer and use it in GitHub Desktop.
make:install-nvm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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