10 lines
187 B
Bash
Executable file
10 lines
187 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
(
|
|
cd "$NVM_DIR"
|
|
git fetch origin
|
|
git checkout $(git describe --abbrev=0 --tags --match "v[0-9]*" origin)
|
|
) && . "$NVM_DIR/nvm.sh"
|
|
|
|
nvm run node update -g
|