# 使用 npm 安装 ngrok

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

## 安装

```sh
sudo av install npm:ngrok
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g ngrok
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:ngrok
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/ngrok>
- **版本:** 5.0.0-beta.2
- **来源摘要:** node wrapper for ngrok
- **主页:** <https://github.com/bubenshchykov/ngrok#readme>
- **仓库:** <https://github.com/bubenshchykov/ngrok>
- **上游文档:** <https://github.com/bubenshchykov/ngrok#readme>
- **许可证:** BSD-2-Clause
- **源码归档:** <https://registry.npmjs.org/ngrok/-/ngrok-5.0.0-beta.2.tgz>
- **问题跟踪器:** <https://github.com/bubenshchykov/ngrok/issues>
- **发布时间:** 2023-05-07T09:20:53.787Z
- **最后更新:** 2023-05-07T09:20:53.787Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- ngrok (cli)
- ngrok (别名)

## 依赖

- extract-zip
- got
- hpagent
- lodash.clonedeep
- uuid
- yaml

## 构建依赖

- @types/node
- chai
- chalk
- mocha
- sinon

## 安装行为

- post-install 钩子: 已定义
- npm 生命周期脚本: postinstall
- Bottle: 不可用

## 版本和新鲜度

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

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 5.0.0-beta.2, Next: 4.0.0-beta.4
- **Version Count:** 90
- **Maintainers:** bubenshchykov, philnash, bmpngrok
- **Author:** bubenshchykov
- **Publisher:** philnash
- **Engines:** Node: >=14.2
- **Optional Dependencies:** hpagent
- **Integrity:** sha512-UzsyGiJ4yTTQLCQD11k1DQaMwq2/SsztBg2b34zAqcyjS25qjDpogMKPaCKHwe/APRTHeel3iDXcVctk5CNaCQ==
- **Shasum:** 7976690a592b27de9a91ff93892cfabda24360ad
- **Unpacked Size:** 23,349,788
- **File Count:** 0
- **Created At:** 2013-11-17T00:38:52.059Z
- **Latest Published At:** 2023-05-07T09:20:53.787Z
- **Modified At:** 2026-04-08T20:09:15.544Z

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

- Nix - ngrok: normalized package name match | nixpkgs package indexes: pkgs/by-name/ng/ngrok/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Chocolatey - ngrok: normalized package name match | Chocolatey community package catalog: ngrok from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','nexus-repository'
- Scoop - main/ngrok: normalized package name match | Scoop official bucket manifest trees: bucket/ngrok.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Ngrok.Ngrok: normalized package name match | Windows Package Manager source index: Ngrok.Ngrok from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched curated package taxonomy and local package facts.
- [localtunnel](https://www.automicvault.com/zh-hans/pkg/npm/localtunnel/) - Local package facts share a topical domain. Shared terms: cli, localhost, localtunnel, networking, tunneling.
- [api-spec-converter](https://www.automicvault.com/zh-hans/pkg/npm/api-spec-converter/) - Both packages work with overlapping file formats or content types. Shared terms: cli, clonedeep, lodash, lodash-clonedeep, networking.
- [avo](https://www.automicvault.com/zh-hans/pkg/npm/avo/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, got, networking, node, uuid.
- [ngrok](https://www.automicvault.com/zh-hans/pkg/cask/ngrok/) - Same normalized package name appears in another local ecosystem.

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
