From 744f406f57e322be41a7e64c31eb520b431e2383 Mon Sep 17 00:00:00 2001 From: trivernis Date: Sat, 21 Jan 2023 22:03:09 +0100 Subject: [PATCH] Update README --- README.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4910034..d2985a1 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,15 @@ Node environment manager written in rust. ## Installation -Figure out how to install it yourself (for now). -Add the nenv `bin` directory to your PATH variable. +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 `. +Afterwards add the `bin` directory to your `PATH` variable. + +On windows this should be `C:\Users\\AppData\Roaming\nenv\bin`. +On linux this will should be `~/.local/share/nenv/bin`. ## Usage @@ -35,6 +42,12 @@ nenv default latest nenv refresh ``` +### List nodejs versions + +```sh +nenv list-versions +``` + ## License