Skip to content

How to install global npm tools that are available across all node versions #109

@nikivdev

Description

@nikivdev

Say I ran npm install --global prettier

It gets installed into Users/nikivi/.fnm/node-versions/latest/installation/lib since I am currently using latest version of node (fnm use latest).

But if I fnm use v10.15.0 and run npm list -g --depth 0. I dont get any packages. This is very annoying.

Is it possible to make it so that all globally installed packages I have are available to me no matter what node version I use?

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