[readme] fixed small typo afew to a few

also gave more up to date versions for example of  `nvm install` and `nvm which` as well as your pointer section
I love your project by the way.
James Stroud 2021-06-04 15:15:17 -04:00 committed by Jordan Harband
parent ca897ac6d5
commit 91bd22aa57
No known key found for this signature in database
GPG Key ID: 9F6A681E35EF8B56
1 changed files with 4 additions and 4 deletions

View File

@ -255,7 +255,7 @@ nvm install node # "node" is an alias for the latest version
To install a specific version of node: To install a specific version of node:
```sh ```sh
nvm install 6.14.4 # or 10.10.0, 8.9.1, etc nvm install 14.7.0 # or 16.3.0, 12.22.1, etc
``` ```
The first version installed becomes the default. New shells will start with the default version of node (e.g., `nvm alias default`). The first version installed becomes the default. New shells will start with the default version of node (e.g., `nvm alias default`).
@ -287,10 +287,10 @@ nvm exec 4.2 node --version
You can also get the path to the executable to where it was installed: You can also get the path to the executable to where it was installed:
```sh ```sh
nvm which 5.0 nvm which 12.22
``` ```
In place of a version pointer like "0.10" or "5.0" or "4.2.1", you can use the following special default aliases with `nvm install`, `nvm use`, `nvm run`, `nvm exec`, `nvm which`, etc: In place of a version pointer like "14.7" or "16.3" or "12.22.1", you can use the following special default aliases with `nvm install`, `nvm use`, `nvm run`, `nvm exec`, `nvm which`, etc:
- `node`: this installs the latest version of [`node`](https://nodejs.org/en/) - `node`: this installs the latest version of [`node`](https://nodejs.org/en/)
- `iojs`: this installs the latest version of [`io.js`](https://iojs.org/en/) - `iojs`: this installs the latest version of [`io.js`](https://iojs.org/en/)