Skip to content

Sudo usage for npm #3

@reklis

Description

@reklis

You are heading in the right direction but I fear you are not seeing the whole picture.

"Don't use sudo" does not combine with "use the fuck" because the fuck uses sudo. So really, you shouldn't be using either.

The proper way to fix permissions problems with npm is to create an ~/.npmrc with a prefix to $home

https://docs.npmjs.com/files/npmrc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions