Documentation Index
Fetch the complete documentation index at: https://private-7c7dfe99-page-updates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Install ClickHouse on Windows with WSL
Requirements
To install ClickHouse on Windows you will need WSL (Windows Subsystem for Linux).
Install WSL
Open Windows PowerShell as administrator and run the following command:Install ClickHouse via script using curl
Run the following command to install ClickHouse via script using curl:Start clickhouse-local
clickhouse-local allows you to process local and remote files using ClickHouse’s
powerful SQL syntax and without the need for configuration. Table data is stored
in a temporary location, meaning that after a restart of clickhouse-local
previously created tables are no longer available.Run the following command to start clickhouse-local:Start clickhouse-server
Should you wish to persist data, you’ll want to runclickhouse-server. You can
start the ClickHouse server using the following command:Start clickhouse-client
With the server up and running, open a new terminal window and run the following command to launchclickhouse-client:-C config.xml as an additional command line argument to ./clickhouse server
and provide further configuration in a configuration
file. All available configuration settings are documented here and in the
example configuration file
template.You’re now ready to start sending SQL commands to ClickHouse!