Skip to content

Commit

Permalink
Rework bootstrap steps to avoid temporary file (#754)
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowspawn authored Dec 29, 2022
1 parent 6ed06f7 commit 0bb1768
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,10 @@ To avoid requiring `sudo` for `n` and `npm` global installs, it is suggested you

-----

If `npm` is not yet available, one way to bootstrap an install:
If `npm` is not yet available, one way to bootstrap an install is to download and run `n` directly. To install the `lts` version of Node.js:

curl -L https://raw.githubusercontent.com/tj/n/master/bin/n -o n
bash n lts
# Now node and npm are available
curl -fsSL https://raw.githubusercontent.com/tj/n/master/bin/n | bash -s lts
# If you want n installed, you can use npm now.
npm install -g n

Alternatively, you can clone this repo and
Expand Down

0 comments on commit 0bb1768

Please sign in to comment.