Created
January 9, 2020 22:26
-
-
Save theaccordance/971d476d474f4a45ccf4d5d49d96b68d to your computer and use it in GitHub Desktop.
Sets the current node version to what's defined by the project & then sets it as the default for the system
This file contains hidden or 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
#!/bin/bash | |
nvm use && NODE_VER=$(node -v) && nvm alias default $NODE_VER |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment