mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
15 lines
340 B
Bash
Executable File
15 lines
340 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Manual install of nvm
|
|
git clone https://github.com/creationix/nvm.git ~/.nvm
|
|
cd ~/.nvm
|
|
git checkout `git describe --abbrev=0 --tags`
|
|
cd ~/.dotfiles/
|
|
|
|
# Reload nvm into this environment
|
|
export NVM_DIR="$HOME/.nvm/"
|
|
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
|
|
|
|
nvm install stable
|
|
nvm alias default stable
|