Installing Perses from the source
This sections continues with installing using the source code, test the project, build the project, configure examples, and run the Perses dashboard project on your local machine.
Building requirements#
To build the Perses project from source you need minimum versions of the following:
- GO v1.23+
- Node v24+
- NPM v11+
Downloading the source#
You can obtain the source code of the Perses project at the main product page in various compression formats or you can clone the git repository as shown here:
git clone https://github.com/perses/perses.gitNow just move to the Perses project directory and build the project:
cd perses
make build
...
Tasks: 18 successful, 18 total
Cached: 0 cached, 18 total
Time: 36.594s
>> compressing assets
scripts/compress_assets.sh
GOARCH=arm64 GOOS=darwin go generate ./internal/api
>> build the perses api
CGO_ENABLED=0 GOARCH=arm64 GOOS=darwin go build -ldflags "-s -w -X github.com/prometheus/common/version.Version=[VERSION] -X github.com/prometheus/common/version.Revision=30eaafd7658bfa95a40610e81c64fd3d8d1285a7 -X github.com/prometheus/common/version.BuildDate=2025-01-04 -X github.com/prometheus/common/version.Branch=main" -o ./bin/perses ./cmd/perses
>> build the perses cli
CGO_ENABLED=0 GOARCH=arm64 GOOS=darwin go build -ldflags "-s -w -X github.com/prometheus/common/version.Version=[VERSION] -X github.com/prometheus/common/version.Revision=30eaafd7658bfa95a40610e81c64fd3d8d1285a7 -X github.com/prometheus/common/version.BuildDate=2025-01-04 -X github.com/prometheus/common/version.Branch=main" -o ./bin/percli ./cmd/percli
Perses server built successfully!Note the last line stating that you have successfully built your own instance of Perses!
Starting the Perses server#
To start the server you just built:
./bin/perses --config dev/config.yaml
___________
\___________/
___________ ______
\___________/ | ___ \
___________ | |_/ /__ _ __ ___ ___ ___
\___________/ | __/ _ \ '__/ __|/ _ \/ __|
___ | | | __/ | \__ \ __/\__ \
\___/ \_| \___|_| |___/\___||___/ [PERSES_VERSION]
__________________________________________________________
⇨ http server started on [::]:8080If you are interested in exploring how to configure your Perses server, please see the configuration documentation.
Connect a browser (default)#
Open the Perses UI at http://localhost:8080.
You are presented with the home page, in light mode. For fun, you can optionally flip the switch in the top right corner to enable dark mode.
What's next?#
Explore the online Perses documentation

