Skip to content

Commit

Permalink
add tip about nodenv permissions (#365)
Browse files Browse the repository at this point in the history
Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
  • Loading branch information
zeke and chiedo authored Oct 14, 2020
1 parent 660f452 commit 923c7e4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion contributing/node-versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,17 @@ When updating to a new Node.js version, consider the following files:

If you're using macOS, run this command to get the latest:

```
```sh
brew upgrade nodenv node-build
```

If you see a warning like this one, run the suggested command:

```sh
# You should change the ownership of these directories to your user.
sudo chown -R $(whoami) /usr/local/sbin
```

If you're using another operating system, or did not use Homebrew to install nodenv, see these [upgrade instructions](https://github.com/nodenv/nodenv#installation).

To install Node.js 14 and make it your default version, run this command:
Expand Down

0 comments on commit 923c7e4

Please sign in to comment.