# 使用 npm 安装 chdb

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

## 安装

```sh
sudo av install npm:chdb
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g chdb
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:chdb
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/chdb>
- **版本:** 3.2.0
- **来源摘要:** chDB bindings for nodejs
- **主页:** <https://github.com/chdb-io/chdb-node#readme>
- **仓库:** <https://github.com/chdb-io/chdb-node>
- **上游文档:** <https://github.com/chdb-io/chdb-node#readme>
- **许可证:** Apache-2.0
- **源码归档:** <https://registry.npmjs.org/chdb/-/chdb-3.2.0.tgz>
- **问题跟踪器:** <https://github.com/chdb-io/chdb-node/issues>
- **发布时间:** 2026-07-13T06:02:36.936Z
- **最后更新:** 2026-07-13T06:02:36.936Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- chdb-gen-types (cli)
- chdb-gen-types (别名)

## 依赖

- @clickhouse/client-common
- node-addon-api
- node-gyp-build

## 构建依赖

- @hypequery/clickhouse
- @mastra/core
- @types/node
- ai
- apache-arrow
- chai
- mocha
- node-gyp
- typescript
- vitest
- zod

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 3.2.0
- 管理器更新时间: 2026-07-13
- 本地数据: OK
- 上游仓库: https://github.com/chdb-io/chdb-node
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 3.2.0, Next: 3.1.0, Unverified: 3.2.0
- **Version Count:** 19
- **Maintainers:** auxten, wudidapaopao
- **Author:** chdb
- **Publisher:** wudidapaopao
- **Engines:** Node: >=18.0.0
- **Peer Dependencies:** @clickhouse/client, @hypequery/clickhouse, @mastra/core, ai, apache-arrow, zod
- **Optional Dependencies:** @chdb/lib-darwin-arm64, @chdb/lib-darwin-x64, @chdb/lib-linux-arm64-gnu, @chdb/lib-linux-x64-gnu
- **Integrity:** sha512-tetwf4QQmAaIxcOFEp6CJ7/xxzlJyjMTV8gWFPq8AfJv8I9kcoO1aMdPzDWheUB7n0J5AcI01vnTiUyQ/oO29A==
- **Shasum:** 67237b6211ccdcee98c32291699204118d6d223b
- **Unpacked Size:** 625,971
- **File Count:** 0
- **Created At:** 2024-01-03T08:51:54.437Z
- **Latest Published At:** 2026-07-13T06:02:36.936Z
- **Modified At:** 2026-07-13T06:06:57.506Z


## 相关链接

- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched curated package taxonomy and local package facts.
- [gitnexus](https://pkg.so/zh-hans/npm/gitnexus/) - Both packages touch the same language runtime or ecosystem. Shared terms: addon, api, build, common, gyp.
- [lzma-native](https://pkg.so/zh-hans/npm/lzma-native/) - Both packages touch the same language runtime or ecosystem. Shared terms: addon, api, bindings, build, gyp.
- [lmdb](https://pkg.so/zh-hans/npm/lmdb/) - Both packages touch the same language runtime or ecosystem. Shared terms: addon, api, build, database, gyp.

## 来源

- pkg.so package database
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
