Skip to content

Instantly share code, notes, and snippets.

@rrichardsonv
Created October 16, 2018 16:17
Show Gist options
  • Save rrichardsonv/cfa27f0ebc718452dbc9ecc00fc866aa to your computer and use it in GitHub Desktop.
Save rrichardsonv/cfa27f0ebc718452dbc9ecc00fc866aa to your computer and use it in GitHub Desktop.
git clone https://github.com/nodenv/nodenv.git ~/.nodenv
ln -s "$SYSTEM_REPO/Dotfiles/config/nodenv/default-packages" ~/.nodenv/
( mkdir ~/.nodenv/plugins && cd ~/.nodenv/plugins && \
for PLUGIN in node-build node-build-update-defs nodenv-aliases \
nodenv-default-packages nodenv-each nodenv-package-rehash; do
git clone "https://github.com/nodenv/$PLUGIN.git"
done )
nodenv update-version-defs
nodenv install 10.8.0 # Or whatever,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment