mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-12-14 09:04:19 +00:00
Merge 4be76df03d into f38d21c529
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user