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
![Adding Prettier To WebStorm](https://cdn-ak-scissors.b.st-hatena.com/image/square/e758773a54e3b7242ae46f835f5b1ac493e0cc1d/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A1053%2F1%2AanZPX6XaHHBJQUC4Zz6aSA.png)