# Install purgecss with npm

Remove unused css selectors. Version 8.0.0 via npm; verified 2026-01-24.

## Install

```sh
sudo av install npm:purgecss
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g purgecss
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:purgecss
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/purgecss>
- **Version:** 8.0.0
- **Source summary:** Remove unused css selectors
- **Homepage:** <https://purgecss.com>
- **Repository:** <https://github.com/FullHuman/purgecss>
- **Upstream docs:** <https://purgecss.com>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/purgecss/-/purgecss-8.0.0.tgz>
- **Issue tracker:** <https://github.com/FullHuman/purgecss/issues>
- **Published:** 2026-01-24T19:56:17.321Z
- **Last updated:** 2026-01-24T19:56:17.321Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- purgecss (cli)
- purgecss (alias)

## Dependencies

- commander
- fast-glob
- postcss
- postcss-selector-parser

## Install behavior

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

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 8.0.0
- Package-manager updated: 2026-01-24
- Local data: ok
- Upstream repository: https://github.com/FullHuman/purgecss
- notice: The package-manager record has not changed recently.
- info: No cached GitHub release or tag data was available.

## Security Notes

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


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 8.0.0, Next: 6.0.0-alpha.0
- **Version Count:** 65
- **Maintainers:** jsnanigans, ffloriel
- **Author:** Ffloriel
- **Publisher:** GitHub Actions
- **Integrity:** sha512-QFJyps9y5oHeXnNA3Ql1EaAqWBivNwQn19Pw1lt9RxfB+4e+bIyqCyuombk79D6Fxe+lPXggVfI1WtRGEBwgbQ==
- **Shasum:** 4716eaeb398364aaefd6ab7808427a9e2621bbea
- **Unpacked Size:** 136,604
- **File Count:** 0
- **Created At:** 2017-07-08T17:46:30.983Z
- **Latest Published At:** 2026-01-24T19:56:17.321Z
- **Modified At:** 2026-01-24T19:56:17.616Z


## Related links

- [Web development packages](https://pkg.so/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [uncss](https://pkg.so/npm/uncss/) - Both packages work with overlapping file formats or content types. Shared terms: cli, commander, css, developer, developer-tools.
- [es-check](https://pkg.so/npm/es-check/) - Local metadata places this package in an adjacent workflow. Shared terms: build, build-tools, cli, developer, developer-tools.
- [node-minify](https://pkg.so/npm/node-minify/) - Both packages work with overlapping file formats or content types. Shared terms: build, build-tools, cli, commander, css.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
