To add prettier (https://github.com/prettier/prettier) you first need to install it globally via npm or yarn. $ npm install -g prettierThe installation should output where it is located $ /usr/local/bin/prettier -> /usr/local/lib/node_modules/prettier/bin/prettier.jsNow in WebStorm, navigate toWebStorm > Preferences > Tools > External Tools Click on the + icon to add a new external tool. Then fill
