diff --git a/_posts/2025-03-17-node.md b/_posts/2025-03-17-node.md index a946fe2..266b319 100644 --- a/_posts/2025-03-17-node.md +++ b/_posts/2025-03-17-node.md @@ -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.