macOS
brew install prettierlocal Homebrew formula metadata
brew / 順位 859
prettier のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install prettierlocal Homebrew formula metadata
sudo apk add prettierAlpine Linux edge package indexes · prettier · ソース: dl-cdn.alpinelinux.org
nix profile install nixpkgs#prettiernixpkgs package indexes · pkgs/by-name/pr/prettier/package.nix · ソース: api.github.com
sudo pacman -S prettierArch Linux sync databases · prettier · ソース: geo.mirror.pkgbuild.com
概要
Code formatter for JavaScript, CSS, JSON, GraphQL, Markdown, YAML
履歴
Prettier is an opinionated formatter that parses source code and prints a consistent representation. It supports JavaScript and numerous adjacent web, configuration, and prose formats.
James Long created Prettier as an opinionated JavaScript formatter, and the project was publicly introduced in early 2017. Prettier 1.0 followed in April 2017 after rapid early adoption.
The project expanded beyond JavaScript during 2017 and 2018, adding TypeScript, CSS, GraphQL, JSON, Markdown, EditorConfig, YAML, HTML, Vue, Angular, MDX, and an extensible plugin ecosystem. Prettier 3.0 moved the codebase to ECMAScript modules and overhauled its public and plugin APIs.
Prettier spread through local development dependencies, editor integrations, Git hooks, and continuous-integration checks. Its official documentation recommends pinning an exact project-local installation and documents integrations with editors, linters, and staged-file tooling.
Typical workflows run `prettier . --write` to rewrite files and `prettier . --check` in CI. Prettier resolves configuration from the formatted file upward through the directory tree and intentionally provides no global configuration.
Prettier helped establish opinionated, deterministic formatting as a standard component of JavaScript and web-development toolchains. Its parser-and-printer model, deliberately small option surface, multi-language support, and plugin interface shifted formatting away from large collections of stylistic lint rules.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
package.jsonpackage.yaml.prettierrc.prettierrc.json.prettierrc.yml.prettierrc.yaml.prettierrc.json5.prettierrc.jsprettier.config.js.prettierrc.tsprettier.config.ts.prettierrc.mjsprettier.config.mjs.prettierrc.mtsprettier.config.mts.prettierrc.cjsprettier.config.cjs.prettierrc.ctsprettier.config.cts.prettierrc.toml.editorconfig実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
prettier | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:prettier |
|---|---|
| バージョン | 3.9.10 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/prettier |
| ホームページ | https://prettier.io/ |
| リポジトリ | https://github.com/prettier/prettier |
| 上流ドキュメント | https://prettier.io/ |
| ライセンス | MIT |
| ソースアーカイブ | https://registry.npmjs.org/prettier/-/prettier-3.9.10.tgz |
| 最終更新 | 2026-10-11T11:49:55Z |
| Pulse | updated |
| 依存関係 | node |
| Bottle | 利用可能 (対象 all) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | prettier |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
prettier
nix profile install nixpkgs#prettierprettier 3.8.4-r0
Opinionated code formatter
sudo apk add prettierprettier-doc 3.8.4-r0
Opinionated code formatter (documentation)
sudo apk add prettier-docprettier 3.8.1-1
An opinionated code formatter
sudo pacman -S prettierソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.