08 September 2025

How to Install and Use Prettier on Ubuntu?

# npm install -g prettier
 
How to make html and css and javaScript files
prettier?
 
$ prettier --tab-width 4 --write test.html 

How to update prettier

# npm update -g prettier

Note: -g means global

No comments:

Post a Comment