0
0
mirror of https://github.com/tj/n.git synced 2024-11-25 07:39:21 +01:00

Improve README, and resolve #684

This commit is contained in:
John Gee 2021-09-05 17:03:29 +12:00
parent 06414f82a6
commit 5b55dcca13

View File

@ -33,7 +33,7 @@ It is written as a BASH script but does not require you to use BASH as your comm
## Installation ## Installation
Since you probably already have `node`, the easiest way to install `n` is through `npm`: If you already have Node.js installed, an easy way to install `n` is using `npm`:
npm install -g n npm install -g n
@ -56,6 +56,7 @@ If `npm` is not yet available, one way to bootstrap an install:
curl -L https://raw.githubusercontent.com/tj/n/master/bin/n -o n curl -L https://raw.githubusercontent.com/tj/n/master/bin/n -o n
bash n lts bash n lts
# Now node and npm are available # Now node and npm are available
npm install -g n
Alternatively, you can clone this repo and Alternatively, you can clone this repo and