1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos-docs synced 2026-06-16 04:34:55 +02:00
thalos-docs/docs/installation/index.md
2023-07-01 19:40:02 +02:00

1.3 KiB

next
text link
Configuration /docs/configuration

Installation

There are several ways to install thalos, via package manager, downloading a pre-built binary or building directly from source.

Package Managers

Manually

Bundled binaries

You can get the latest archive package here

Simply download using your webbrowser or via curl:

curl -Ls https://github.com/eosswedenorg/thalos/releases/download/<version>/thalos-server-<version>-linux-amd64.tar.gz | tar -z --one-top-level=thalos -xvf -

::: info Using curl command above, the files are extracted into the thalos subdirectory of the current directory where the command is run. :::

Compiling from source

You will need golang version 1.18 or later to compile the source.

Compile using make

make

or using go directly if you dont have make installed.

go build -o build/thalos-server cmd/main/main.go

Install

After building the binary you can install it along with basic config file and start/stop scripts using install.sh

./install.sh /path/to/your/directory/of/choice