Skip to main content

Use NodeJS with @clickhouse/client

Here is a basic code snippet file main.ts. Package.json (place it under ./):
Main.ts (place it under ./src):
To install the packages, run yarn from ./:
execute the code in main.ts from ./ with:
will output:
Last modified on June 23, 2026