# Install terser with npm

JavaScript parser, mangler/compressor and beautifier toolkit for ES6+. Version 5.49.0 via npm; verified 2026-07-08. Also installable with debian: sudo apt install terser.

## Install

```sh
sudo av install npm:terser
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g terser
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:terser
- **Package manager:** npm
- **Version:** 5.49.0
- **Source summary:** JavaScript parser, mangler/compressor and beautifier toolkit for ES6+
- **Homepage:** <https://terser.org>
- **Last updated:** 2026-07-08T17:14:36.616Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- terser (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 5.49.0

## Security Notes

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


## Other Package-Manager Records

- Debian apt - terser - 5.38.0-1: normalized package name match | Debian stable package indexes: terser from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | parser/mangler/compressor for ES6+ - CLI tool | https://terser.org/
- Nix - terser: normalized package name match | nixpkgs package indexes: pkgs/by-name/te/terser/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - terser - 5.19.2-1: normalized package name match | Ubuntu 24.04 LTS package indexes: terser from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | parser/mangler/compressor for ES6+ - CLI tool | https://terser.org/


## Sources

- pkg.so package database
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
