Skip to content

Commit af4c109

Browse files
authored
repo sync
2 parents c76bf47 + 923c7e4 commit af4c109

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

contributing/node-versions.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,17 @@ When updating to a new Node.js version, consider the following files:
1919

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

22-
```
22+
```sh
2323
brew upgrade nodenv node-build
2424
```
2525

26+
If you see a warning like this one, run the suggested command:
27+
28+
```sh
29+
# You should change the ownership of these directories to your user.
30+
sudo chown -R $(whoami) /usr/local/sbin
31+
```
32+
2633
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).
2734

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

0 commit comments

Comments
 (0)