Files
nvm-auto-use.fish/README.md
2025-10-01 21:59:25 +03:00

36 lines
1.1 KiB
Markdown

# nvm-auto-use.fish
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fivuorinen%2Fnvm-auto-use.fish.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fivuorinen%2Fnvm-auto-use.fish?ref=badge_shield)
Automates loading the correct Node.js version from `.nvmrc` in Fish shell.
## Installation
Ensure you have [fisher](https://github.com/jorgebucaran/fisher) installed, then run:
```fish
fisher install ivuorinen/nvm-auto-use.fish
```
## Usage
This script automatically detects the `.nvmrc` file in your current or
parent directories and loads the specified Node.js version.
If the specified version is not installed, it will be installed
automatically using `nvm install`.
## Uninstall
To remove the plugin, run:
```fish
fisher remove ivuorinen/nvm-auto-use.fish
```
## License
MIT License. See [LICENSE](LICENSE) for details.
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fivuorinen%2Fnvm-auto-use.fish.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fivuorinen%2Fnvm-auto-use.fish?ref=badge_large)