mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-11 14:51:49 +00:00
6 lines
235 B
Plaintext
6 lines
235 B
Plaintext
export NVM_DIR="$HOME/.nvm" && (
|
|
git clone https://github.com/nvm-sh/nvm.git "$NVM_DIR"
|
|
cd "$NVM_DIR"
|
|
git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)`
|
|
) && \. "$NVM_DIR/nvm.sh"
|