# Install mocha with npm

simple, flexible, fun test framework. Version 11.7.6 via npm; verified 2026-05-21. Also installable with debian: sudo apt install mocha.

## Install

```sh
sudo av install npm:mocha
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g mocha
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:mocha
- **Package manager:** npm
- **Version:** 11.7.6
- **Source summary:** simple, flexible, fun test framework
- **Homepage:** <https://mochajs.org/>
- **Last updated:** 2026-05-21T11:11:59.551Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- mocha (alias)

## Install behavior

- Bottle: not available

## Freshness

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

## Security Notes

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


## Other Package-Manager Records

- Debian apt - mocha - 10.7.2+ds1+~cs33.1.11-2: normalized package name match | Debian stable package indexes: mocha from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | simple, flexible, fun test framework - Node.js module | https://mochajs.org
- Nix - mocha: normalized package name match | nixpkgs package indexes: pkgs/by-name/mo/mocha/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - mocha - 10.4.0+ds1+~cs33.1.8-1: normalized package name match | Ubuntu 24.04 LTS package indexes: mocha from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | simple, flexible, fun test framework - Node.js module | https://mochajs.org


## Sources

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