mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
Merge 4be76df03d
into f38d21c529
This commit is contained in:
commit
d622ec1c36
@ -354,6 +354,19 @@ add-zsh-hook chpwd load-nvmrc
|
||||
load-nvmrc
|
||||
```
|
||||
|
||||
## Other shells
|
||||
|
||||
You can run nvm from other shells by using the script provided in the bin
|
||||
directory. It must remain relative to the install.
|
||||
|
||||
Add `<prefix>/bin` and `<prefix>/current/bin` to your PATH and use nvm transparantly.
|
||||
|
||||
### Example [fish-shell](http://fishshell.com/) config:
|
||||
|
||||
Where nvm is installed at `~/.nvm`
|
||||
|
||||
set -x fish_user_paths $PATH $NVM_DIR/current/bin $NVM_DIR/bin
|
||||
|
||||
## License
|
||||
|
||||
nvm is released under the MIT license.
|
||||
|
Loading…
Reference in New Issue
Block a user