How do I get Prettier to work in the Brackets editor?

I’ve tried running both npm install --save-dev --save-exact prettier and npm install --global prettier in npm and my JSX code isn’t being formatted the Brackets editor.

The Brackets Prettier extension also isn’t working for me. What step am I missing?