mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Update install.md
https://packages.clickhouse.com/tgz/stable/ is multi-paged now and sorted by date asc so we can't get very last version
This commit is contained in:
parent
a0727ba0af
commit
e562d97ff5
@ -262,7 +262,7 @@ The required version can be downloaded with `curl` or `wget` from repository htt
|
||||
After that downloaded archives should be unpacked and installed with installation scripts. Example for the latest stable version:
|
||||
|
||||
``` bash
|
||||
LATEST_VERSION=$(curl -s https://packages.clickhouse.com/tgz/stable/ | \
|
||||
LATEST_VERSION=$(curl -s -L https://api.github.com/repos/ClickHouse/ClickHouse/tags | \
|
||||
grep -Eo '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | sort -V -r | head -n 1)
|
||||
export LATEST_VERSION
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user