# Install mockttp with npm

Mock HTTP server for testing HTTP clients and stubbing webservices. Version 4.5.0 via npm; verified 2026-07-09.

## Install

```sh
sudo av install npm:mockttp
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g mockttp
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:mockttp
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/mockttp>
- **Version:** 4.5.0
- **Source summary:** Mock HTTP server for testing HTTP clients and stubbing webservices
- **Homepage:** <https://github.com/httptoolkit/mockttp#readme>
- **Repository:** <https://github.com/httptoolkit/mockttp>
- **Upstream docs:** <https://github.com/httptoolkit/mockttp#readme>
- **License:** Apache-2.0
- **Issue tracker:** <https://github.com/httptoolkit/mockttp/issues>
- **Published:** 2026-07-09T16:13:12.052Z
- **Last updated:** 2026-07-09T16:13:12.052Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- mockttp (cli)
- mockttp (alias)

## Install behavior

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

## Freshness

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

## Security Notes

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


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 4.5.0, Mockttp 3.x: 3.17.2
- **Version Count:** 148
- **Maintainers:** pimterry
- **Author:** Tim Perry
- **File Count:** 0
- **Created At:** 2016-08-09T04:36:01.775Z
- **Latest Published At:** 2026-07-09T16:13:12.052Z
- **Modified At:** 2026-07-09T16:13:12.052Z


## Related links

- [Web development packages](https://pkg.so/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [mockolo](https://pkg.so/brew/mockolo/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, mock, mocking.
- [moco](https://pkg.so/brew/moco/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, developer, developer-tools, http, server.
- [loadtest](https://pkg.so/npm/loadtest/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, http, testing.

## Sources

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