mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
clone depth
probably don't need depth more than 1, sometimes takes a pretty long time to clone o/w
This commit is contained in:
parent
41dc4218b9
commit
e3e648c16e
@ -151,7 +151,7 @@ For a fully manual install, create a folder somewhere in your filesystem with th
|
||||
|
||||
```sh
|
||||
export NVM_DIR="$HOME/.nvm" && (
|
||||
git clone https://github.com/creationix/nvm.git "$NVM_DIR"
|
||||
git clone --depth=1 https://github.com/creationix/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"
|
||||
|
Loading…
Reference in New Issue
Block a user