You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,10 +59,10 @@ clickhousectl local remove 25.12.5.44
59
59
60
60
#### ClickHouse binary storage
61
61
62
-
ClickHouse binaries are stored in a global repository, so they can be used by multiple projects without duplicating storage. Binaries are stored in `~/.clickhousectl/`:
62
+
ClickHouse binaries are stored in a global repository, so they can be used by multiple projects without duplicating storage. Binaries are stored in `~/.clickhouse/`:
63
63
64
64
```
65
-
~/.clickhousectl/
65
+
~/.clickhouse/
66
66
├── versions/
67
67
│ └── 25.12.5.44/
68
68
│ └── clickhouse
@@ -100,12 +100,13 @@ clickhousectl local client --host remote-host --port 9000 # Connect to a specif
100
100
101
101
### Creating and managing ClickHouse servers
102
102
103
-
Start and manage ClickHouse server instances. Each server gets its own isolated data directory at `.clickhousectl/servers/<name>/data/`.
103
+
Start and manage ClickHouse server instances. Each server gets its own isolated data directory at `.clickhouse/servers/<name>/data/`.
104
104
105
105
```bash
106
106
# Start a server (runs in background by default)
107
107
clickhousectl local server start # Named "default"
108
108
clickhousectl local server start --name dev # Named "dev"
109
+
clickhousectl local server start --version stable # Use a specific version (installs if needed, doesn't change default)
109
110
clickhousectl local server start --foreground # Run in foreground (-F / --fg)
110
111
clickhousectl local server start --http-port 8124 --tcp-port 9001 # Explicit ports
111
112
clickhousectl local server start -- --config-file=/path/to/config.xml
@@ -127,10 +128,10 @@ clickhousectl local server remove test
127
128
128
129
#### Project-local data directory
129
130
130
-
All server data lives inside `.clickhousectl/` in your project directory:
131
+
All server data lives inside `.clickhouse/` in your project directory:
131
132
132
133
```
133
-
.clickhousectl/
134
+
.clickhouse/
134
135
├── .gitignore # auto-created, ignores everything
135
136
├── credentials.json # cloud API credentials (if configured)
136
137
└── servers/
@@ -152,7 +153,7 @@ Authenticate to ClickHouse Cloud using OAuth (browser-based) or API keys.
152
153
clickhousectl cloud auth login
153
154
```
154
155
155
-
This opens your browser for authentication via the OAuth device flow. Tokens are saved to `.clickhousectl/tokens.json` (project-local).
156
+
This opens your browser for authentication via the OAuth device flow. Tokens are saved to `.clickhouse/tokens.json` (project-local).
0 commit comments