# 使用 npm 安装 ganache

查看 ganache 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install npm:ganache
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g ganache
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:ganache
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/ganache>
- **版本:** 7.9.2
- **来源摘要:** A library and cli to create a local blockchain for fast Ethereum development.
- **主页:** <https://github.com/trufflesuite/ganache/tree/develop/packages/ganache#readme>
- **仓库:** <https://github.com/trufflesuite/ganache>
- **上游文档:** <https://github.com/trufflesuite/ganache/tree/develop/packages/ganache#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/ganache/-/ganache-7.9.2.tgz>
- **问题跟踪器:** <https://github.com/trufflesuite/ganache/issues>
- **发布时间:** 2023-12-21T00:19:56.347Z
- **最后更新:** 2023-12-21T00:19:56.347Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- ganache (cli)
- ganache-cli (cli)
- ganache (别名)

## 依赖

- @trufflesuite/bigint-buffer
- @trufflesuite/uws-js-unofficial
- @types/bn.js
- @types/lru-cache
- @types/seedrandom
- abstract-level
- abstract-leveldown
- async-eventemitter
- bufferutil
- emittery
- keccak
- leveldown
- secp256k1
- utf-8-validate

## 构建依赖

- @ganache/cli
- @ganache/core
- @microsoft/api-extractor
- @types/abstract-leveldown
- @types/mocha
- @types/node
- assert
- browserify-aes
- buffer
- cross-env
- crypto-browserify
- events
- https-browserify
- level-js
- mcl-wasm
- mocha
- node-loader
- os-browserify
- path-browserify
- process
- scrypt-js
- setimmediate
- shebang-loader
- shx
- stream-browserify
- stream-http
- terser-webpack-plugin
- ts-loader
- ts-node
- typescript
- util
- webpack
- webpack-cli
- webpack-merge

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 7.9.2
- 管理器更新时间: 2023-12-21
- 本地数据: OK
- 上游仓库: https://github.com/trufflesuite/ganache
- 警告: The package-manager record has not been updated in over a year.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 ganache 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Alpha: 7.4.4-alpha.0, Beta: 7.0.0-beta.2, Filecoin: 7.0.0-filecoin.6, Latest: 7.9.2, Rc: 7.0.0-rc.0
- **Version Count:** 124
- **Maintainers:** davidmurdoch, truffle-cicd, jeff.smale, gnidan, tcoulter, eggplantzzz, fainashalts, haltman
- **Author:** David Murdoch
- **Publisher:** truffle-cicd
- **Optional Dependencies:** bufferutil, utf-8-validate
- **Integrity:** sha512-7gsVVDpO9AhrFyDMWWl7SpMsPpqGcnAzjxz3k32LheIPNd64p2XsY9GYRdhWmKuryb60W1iaWPZWDkFKlbRWHA==
- **Shasum:** 77f506ad2735dd9109696ffa1834a9dd2f806449
- **Unpacked Size:** 55,230,195
- **File Count:** 0
- **Created At:** 2019-06-25T08:25:44.214Z
- **Latest Published At:** 2023-12-21T00:19:56.347Z
- **Modified At:** 2026-04-29T21:46:56.178Z

## 其他软件包管理器记录

- winget - Trufflesuite.Ganache: normalized package name match | Windows Package Manager source index: Trufflesuite.Ganache from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [ethereum-waffle](https://pkg.so/zh-hans/npm/ethereum-waffle/) - Local package facts share a topical domain. Shared terms: blockchain, cli, contracts, developer, developer-tools.
- [foundry](https://pkg.so/zh-hans/brew/foundry/) - Local package facts share a topical domain. Shared terms: cli, contracts, developer, developer-tools, development.
- [hardhat-deploy](https://pkg.so/zh-hans/npm/hardhat-deploy/) - Local package facts share a topical domain. Shared terms: blockchain, cli, developer, developer-tools, ethereum.

## 来源

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