k6 has packages for Linux, Mac, and Windows. Alternatively, you can use a Docker container or a standalone binary.
Linux
Debian/Ubuntu
Fedora/CentOS
Using dnf (or yum on older versions):
MacOS
Using Homebrew:
Windows
If you use the Chocolatey package manager you can install the unofficial k6 package with:
If you use the Windows Package Manager, install the official packages from the k6 manifests (created by the community):
Alternatively, you can download and run the latest official installer.
Docker
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 or k6.exe binary in your PATH to run k6 from any location.
Using k6 extensions
If you use one or more k6 extensions, you need a k6 binary built with your desired extensions. Head to the bundle builder page to get started.
Troubleshooting
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.