From d51379df1a9295f0a8d25fb91cf8927bb336d659 Mon Sep 17 00:00:00 2001 From: Em Rusz Date: Mon, 17 Mar 2025 23:33:17 -0400 Subject: [PATCH] Update 2025-03-17-node.md --- _posts/2025-03-17-node.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.