k6 has packages for Linux, Mac, and Windows. Alternatively, you can use a Docker container or a standalone binary.
sudo gpg -k sudo gpg --no-default-keyring --keyring /usr/share/keyrings/k6-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C5AD17C747E3415A3642D57D77C6C491D6AC1D69 echo "deb [signed-by=/usr/share/keyrings/k6-archive-keyring.gpg] https://dl.k6.io/deb stable main" | sudo tee /etc/apt/sources.list.d/k6.list sudo apt-get update sudo apt-get install k6
yum on older versions):
sudo dnf install https://dl.k6.io/rpm/repo.rpm sudo dnf install k6
brew install k6
If you use the Chocolatey package manager you can install the unofficial k6 package with:
choco install k6
winget install k6 --source winget
Alternatively, you can download and run the latest official installer.
docker pull grafana/k6
We also have a separate image you can use with
chromium installed to run k6 browser tests.
docker pull grafana/k6:master-with-browser
Download the k6 binary
Our GitHub Releases page has a standalone binary for all platforms. After downloading and extracting the archive for your platform, place the
k6.exe binary in your
PATH to run
k6 from any location.
Using k6 extensions
If installation fails, check the list of common installation issues.
If your problem is not listed and persists, reach out via the channel
#community-discussion on our official Slack, or report it on our community forum.