How do I add globally installed prettier package (using nvm)?
I followed the instructions here: https://www.jetbrains.com/help/webstorm/prettier.html#ws_prettier_install
I cannot select prettier as a valid package installation. It is greyed out:

If I manually type the path it is marked red.

which prettier
~/.nvm/versions/node/v14.18.1/bin/prettier
Prettier is available in the integrated terminal.

Please sign in to leave a comment.
the Prettier package path specified in Languages & Frameworks | JavaScript | Prettier is wrong; it has to be a path to package, not to binary:
<npm prefix>/lib/node_modules/prettier, like/usr/local/lib/node_modules/prettier