Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upadd tip about nodenv permissions #365
Conversation
|
Thanks Zeke! |
|
|
||
| ```sh | ||
| # You should change the ownership of these directories to your user. | ||
| sudo chown -R $(whoami) /usr/local/sbin |
runleonarun
Oct 9, 2020
Contributor
One thing that gave me pause was whether to replace $(whoami) with my username or just the whoami part. It might be worth calling out for people less familiar with the CLI.
Suggested change
sudo chown -R $(whoami) /usr/local/sbin
sudo chown -R USERNAME /usr/local/sbin
One thing that gave me pause was whether to replace $(whoami) with my username or just the whoami part. It might be worth calling out for people less familiar with the CLI.
| sudo chown -R $(whoami) /usr/local/sbin | |
| sudo chown -R USERNAME /usr/local/sbin |


This tiny PR adds a tip about overcoming
nodenvpermissions warnings.