You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nenv/README.md

54 lines
964 B
Markdown

1 year ago
# nenv
Node environment manager written in rust.
## Installation
1 year ago
You can either
- Install the application with cargo by downloading the repo and running `cargo install --path .` inside
- Download the binary from the releases page
Now to initialize everything install any nodejs version with `nenv install <version>`.
Afterwards add the `bin` directory to your `PATH` variable.
On windows this should be `C:\Users\<yourusername>\AppData\Roaming\nenv\bin`.
On linux this will should be `~/.local/share/nenv/bin`.
1 year ago
## Usage
### Install node versions
```sh
# install the latest available node version
nenv install latest
# install the latest lts version
nenv install lts
# install the latest 14.x.x version.
nenv install 14
```
### Change the system-wide default version
```sh
nenv default latest
```
### Refresh installed binaries and upstream versions
```sh
nenv refresh
```
1 year ago
### List nodejs versions
```sh
nenv list-versions
```
1 year ago
## License
GPL-3.0