mirror of
https://github.com/tj/n.git
synced 2024-11-28 21:22:03 +01:00
Improve README, and resolve #684
This commit is contained in:
parent
06414f82a6
commit
5b55dcca13
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user