There's not much to re-installing Prettier, and all we need is a npm command, plus the .prettierrc file we've been working with. For the former, just use the following command:
npm install --save-dev prettier
For configuration, we can use the contents of this .prettierrc file:
{
"tabWidth": 4,
"printWidth": 75
}
Now, we are set! We can check it's working; let's do that.