yarn add prettier code example
Example 1: run prettier
npx prettier --write path/to/my/file.html
Example 2: prittier download ubuntu
npm install --save-dev --save-exact prettier
npx prettier --write path/to/my/file.html
npm install --save-dev --save-exact prettier