Update 2025-03-17-node.md

This commit is contained in:
Em Rusz 2025-03-17 23:33:17 -04:00 committed by GitHub
parent 9a6a9e788d
commit d51379df1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,7 +20,7 @@ Why shouldn't you use `sudo` with `npm`? Go read Crites's article!
Set a prefix in your npm configuration using the `npm config` command.
```bash
npm config set prefix './local/'
npm config set prefix '~/.local/'
```
This modifies your `~/.npmrc` to include the following line.