# Install miniflare with npm

Fun, full-featured, fully-local simulator for Cloudflare Workers. Version 4.20260722.0 via npm; verified 2026-07-23.

## Install

```sh
sudo av install npm:miniflare
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g miniflare
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:miniflare
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/miniflare>
- **Version:** 4.20260722.0
- **Source summary:** Fun, full-featured, fully-local simulator for Cloudflare Workers
- **Homepage:** <https://github.com/cloudflare/workers-sdk/tree/main/packages/miniflare#readme>
- **Repository:** <https://github.com/cloudflare/workers-sdk>
- **Upstream docs:** <https://github.com/cloudflare/workers-sdk/tree/main/packages/miniflare#readme>
- **License:** MIT
- **Issue tracker:** <https://github.com/cloudflare/workers-sdk/issues>
- **Published:** 2026-07-23T17:24:10.433Z
- **Last updated:** 2026-07-23T17:24:10.433Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- miniflare (cli)
- miniflare (alias)

## Install behavior

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

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 4.20260722.0
- Package-manager updated: 2026-07-23
- Local data: ok
- Upstream repository: https://github.com/cloudflare/workers-sdk
- info: No cached GitHub release or tag data was available.

## Security Notes

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


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Beta: 0.0.0-66edd2f3b, Latest: 4.20260722.0, Latest 2: 2.14.4, Legacy: 3.20250718.3, Legacy Beta: 0.0.0-b0a40729a, Next: 0.0.0-f7c347a67, V4 Rc: 4.20250214.0-rc.0
- **Version Count:** 1,640
- **Maintainers:** wrangler-publisher
- **Author:** MrBBot
- **File Count:** 0
- **Created At:** 2021-05-20T10:48:38.655Z
- **Latest Published At:** 2026-07-23T17:24:10.433Z
- **Modified At:** 2026-07-23T17:24:10.433Z


## Related links

- [Cloud CLI packages](https://pkg.so/cloud-clis/) - Matched curated package taxonomy and local package facts.
- [lambda-local](https://pkg.so/npm/lambda-local/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, development, infrastructure.
- [wrangler](https://pkg.so/npm/wrangler/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, cloudflare, cloudflare-workers.
- [azurite](https://pkg.so/brew/azurite/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, development, infrastructure.

## Sources

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