From bdf49ca2164ca73d59bc7bdf312bd3e171661ab6 Mon Sep 17 00:00:00 2001 From: Nhan Doan Date: Wed, 20 Aug 2025 19:02:11 +0700 Subject: [PATCH] fix: command syntax Remove the quotes so that the path can be expanded. --- ...ces-permissions-errors-when-installing-packages-globally.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/packages-and-modules/getting-packages-from-the-registry/resolving-eacces-permissions-errors-when-installing-packages-globally.mdx b/content/packages-and-modules/getting-packages-from-the-registry/resolving-eacces-permissions-errors-when-installing-packages-globally.mdx index 790f628a2d6..f7b0c9ebe4b 100644 --- a/content/packages-and-modules/getting-packages-from-the-registry/resolving-eacces-permissions-errors-when-installing-packages-globally.mdx +++ b/content/packages-and-modules/getting-packages-from-the-registry/resolving-eacces-permissions-errors-when-installing-packages-globally.mdx @@ -37,7 +37,7 @@ To minimize the chance of permissions errors, you can configure npm to use a dif 3. Configure npm to use the new directory path: ``` - npm config set prefix '~/.npm-global' + npm config set prefix ~/.npm-global ``` 4. In your preferred text editor, open or create a `~/.profile` file and add this line: