Skip to content

Instantly share code, notes, and snippets.

@hawkeyetwolf
Created August 19, 2018 22:30
Show Gist options
  • Save hawkeyetwolf/54a11fa27d8e5fe2ba48360ed3b4bfc3 to your computer and use it in GitHub Desktop.
Save hawkeyetwolf/54a11fa27d8e5fe2ba48360ed3b4bfc3 to your computer and use it in GitHub Desktop.
Create .nvmrc automagically
nvm install stable | grep -ohe 'v[0-9]*\.[0-9]*\.[0-9]*' | head -1 > .nvmrc && nvm use
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment