mirror of
https://github.com/emrusz/emrusz.git
synced 2025-04-04 09:23:18 -04:00
Update 2025-03-17-node.md
This commit is contained in:
parent
9a6a9e788d
commit
d51379df1a
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue