pkg.soopen package index

brew / 順位 859

prettier を Homebrew, apk, Nix, pacman でインストール

prettier のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install prettier

local Homebrew formula metadata

概要

パッケージ概要

Code formatter for JavaScript, CSS, JSON, GraphQL, Markdown, YAML

コマンドとエイリアス

  • prettier

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2017: Prettier was publicly introduced and reached its 1.0 release.
  • 2017–2018: Support expanded across major web languages and data formats.
  • 2023: Prettier 3.0 adopted ECMAScript modules and asynchronous public APIs.

Related projects

  • prettierd provides a persistent daemon around Prettier for lower-latency editor formatting.
  • ESLint complements Prettier: Prettier handles formatting, while ESLint retains responsibility for code-quality rules.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
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

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
prettiercliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-11-04
マネージャ版3.9.10
マネージャ更新日2026-10-11
ローカルデータOK
上流not checked
検出された最新未検出

https://prettier.io/

  • 情報Release/tag comparison is only available for GitHub repositories.https://prettier.io/信頼度 none

インストールメタデータ

パッケージメタデータ

パッケージキー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
Pulseupdated
依存関係node
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameprettier
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

prettier

nix profile install nixpkgs#prettier
  • normalized package name match
  • 一致条件: Prettier
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/pr/prettier/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

prettier 3.8.4-r0

Opinionated code formatter

https://prettier.io/

sudo apk add prettier
  • License: MIT
  • Architecture: x86_64
  • Source Package: prettier
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Prettier
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: prettier from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

prettier-doc 3.8.4-r0

Opinionated code formatter (documentation)

https://prettier.io/

sudo apk add prettier-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: prettier
  • normalized package name match
  • 一致条件: Prettier
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: prettier-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

prettier 3.8.1-1

An opinionated code formatter

https://prettier.io

sudo pacman -S prettier
  • License: MIT
  • Architecture: any
  • 1 依存関係
  • normalized package name match
  • 一致条件: Prettier
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: prettier from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation