# Install prettier with npm

Prettier is an opinionated code formatter. Version 3.8.4 via npm; verified 2026-06-09.

## Install

```sh
sudo av install npm:prettier
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g prettier
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:prettier
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/prettier>
- **Version:** 3.8.4
- **Source summary:** Prettier is an opinionated code formatter
- **Homepage:** <https://prettier.io>
- **Repository:** <https://github.com/prettier/prettier>
- **Upstream docs:** <https://prettier.io>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/prettier/-/prettier-3.8.4.tgz>
- **Issue tracker:** <https://github.com/prettier/prettier/issues>
- **Published:** 2026-06-09T11:30:06.784Z
- **Last updated:** 2026-06-09T11:30:06.784Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- prettier (cli)

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 3.8.4
- Package-manager updated: 2026-06-09
- Local data: ok
- Upstream repository: https://github.com/prettier/prettier
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for prettier. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 3.8.4, Next: 4.0.0-alpha.13
- **Version Count:** 187
- **Maintainers:** jlongster, lydell, thorn0, vjeux, fisker, suchipi, duailibe, ikatyang, azz, sosukesuzuki, prettier-bot
- **Author:** James Long
- **Publisher:** GitHub Actions
- **Engines:** Node: >=14
- **Funding:** <https://github.com/prettier/prettier?sponsor=1>
- **Integrity:** sha512-N2MylSdi48+5N/6S5j+maeHbUSIzzZ5uOcX5Hm4QpV8Dkb1HFjfAKTKX6yNPJQD9AhcT3ifHNB66tWTTJDi11Q==
- **Shasum:** f334f013ac04a96676f24dabc23c1c4ae1bae411
- **Unpacked Size:** 8,604,556
- **File Count:** 0
- **Created At:** 2017-01-10T03:45:38.963Z
- **Latest Published At:** 2026-06-09T11:30:06.784Z
- **Modified At:** 2026-06-09T11:30:06.900Z

## Other Package-Manager Records

- Nix - prettier: normalized package name match | nixpkgs package indexes: pkgs/by-name/pr/prettier/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - prettier - 3.8.3-r0: normalized package name match | Alpine Linux edge package indexes: prettier from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Opinionated code formatter | https://prettier.io/
- apk - prettier-doc - 3.8.3-r0: normalized package name match | Alpine Linux edge package indexes: prettier-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Opinionated code formatter (documentation) | https://prettier.io/
- pacman - prettier - 3.8.1-1: normalized package name match | Arch Linux sync databases: prettier from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | An opinionated code formatter | https://prettier.io


## Related links

- [npm command packages](https://www.automicvault.com/pkg/npm-cli-packages/) - Matched curated package taxonomy and local package facts.
- [prettier](https://www.automicvault.com/pkg/brew/prettier/) - Same normalized package name appears in another local ecosystem. Shared terms: code, formatter, prettier.
- [wp-prettier](https://www.automicvault.com/pkg/npm/wp-prettier/) - Executable or command metadata overlaps with this package. Shared terms: code, formatter, is, opinionated, prettier.
- [prettier-check](https://www.automicvault.com/pkg/npm/prettier-check/) - Package names and metadata indicate a similar tool family. Shared terms: code, formatter, prettier.
- [prettier](https://www.automicvault.com/pkg/brew/prettier/) - Same normalized package name exists in another local package ecosystem.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
