|
|
@ -5,8 +5,15 @@ Node environment manager written in rust.
|
|
|
|
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
|
|
|
|
Figure out how to install it yourself (for now).
|
|
|
|
You can either
|
|
|
|
Add the nenv `bin` directory to your PATH variable.
|
|
|
|
- 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`.
|
|
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
|
@ -35,6 +42,12 @@ nenv default latest
|
|
|
|
nenv refresh
|
|
|
|
nenv refresh
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### List nodejs versions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
|
|
|
nenv list-versions
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## License
|
|
|
|
## License
|
|
|
|
|
|
|
|
|
|
|
|