Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add tip about nodenv permissions #406

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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