Skip to content

Commit

Permalink
More readme tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkarns committed Feb 27, 2023
1 parent abd2d43 commit 9c79521
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,20 @@ install/upgrade`. Otherwise, nodenv is installed under `~/.nodenv`.
Additionally, [node-build](https://github.com/nodenv/node-build#readme) is also
installed if `nodenv install` is not already available.

**with curl**
with curl:

```sh
curl -fsSL https://github.com/nodenv/nodenv-installer/raw/HEAD/bin/nodenv-installer | bash
```
**with wget**

with wget:

```sh
wget -q https://github.com/nodenv/nodenv-installer/raw/HEAD/bin/nodenv-installer -O- | bash
```
**with npx/npm**

with npx/npm:

```sh
npx @nodenv/nodenv-installer
```
Expand All @@ -41,15 +46,20 @@ you are installing nodenv there, you are likely doing something wrong.

You can verify the state of your nodenv installation with:

**with curl**
with curl:

```sh
curl -fsSL https://github.com/nodenv/nodenv-installer/raw/HEAD/bin/nodenv-doctor | bash
```
**with wget**

with wget:

```sh
wget -q https://github.com/nodenv/nodenv-installer/raw/HEAD/bin/nodenv-doctor -O- | bash
```
**with npx/npm**

with npx/npm:

```sh
npx -p @nodenv/nodenv-installer nodenv-doctor
```
Expand All @@ -59,4 +69,4 @@ You can verify the state of your nodenv installation with:
Forked from [Mislav Marohnić][mislav]'s [rbenv-installer][] and modified for node.

[mislav]: https://github.com/mislav
[rbenv-installer]: https://github.com/rbenv/rbenv-installer
[rbenv-installer]: https://github.com/rbenv/rbenv-installer

0 comments on commit 9c79521

Please sign in to comment.