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: