prettier

popularproductivitynpm

Prettier · Formatting, markdown, and code consistency from the terminal.

$ npm i -g prettier
One-liner to try
$ prettier . --write

Agent pack

Copy into an agent

A markdown-ready setup brief with install, verify, safe starting commands, and guardrails for AI agents.

Open .mdJSON
Readiness
Usable with guardrails · 50/100
Verify
prettier --version
Agent URL
/cli/prettier/agent.md

Quick reference

Install
npm i -g prettier
Verify
prettier --version
First command
prettier . --write
Machine JSON
/cli/prettier.json

About

Formatting, markdown, and code consistency from the terminal. Built by Prettier.

Example workflow

1. prettier . --write

Alternatives worth considering