# Install chdb with npm

chDB bindings for nodejs. Version 3.2.0 via npm; verified 2026-07-13.

## Install

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

Additional install commands:

### Portable and language managers

- npm (100%):

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

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:chdb
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/chdb>
- **Version:** 3.2.0
- **Source summary:** chDB bindings for nodejs
- **Homepage:** <https://github.com/chdb-io/chdb-node#readme>
- **Repository:** <https://github.com/chdb-io/chdb-node>
- **Upstream docs:** <https://github.com/chdb-io/chdb-node#readme>
- **License:** Apache-2.0
- **Source archive:** <https://registry.npmjs.org/chdb/-/chdb-3.2.0.tgz>
- **Issue tracker:** <https://github.com/chdb-io/chdb-node/issues>
- **Published:** 2026-07-13T06:02:36.936Z
- **Last updated:** 2026-07-13T06:02:36.936Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- chdb-gen-types (cli)
- chdb-gen-types (alias)

## Dependencies

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

## Build dependencies

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

## Install behavior

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

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 3.2.0
- Package-manager updated: 2026-07-13
- Local data: ok
- Upstream repository: https://github.com/chdb-io/chdb-node
- info: No cached GitHub release or tag data was available.

## Security Notes

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


## Source Database Details

- **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


## Related links

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

## Sources

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