k6 has packages for Linux, Mac, and Windows. Alternatively, you can use a Docker container or a standalone binary.
Using dnf (or yum on older versions):
If you use the Chocolatey package manager you can install the unofficial k6 package with:
Alternatively, you can download and run the latest official installer.
We also have a separate image you can use with chromium installed to run k6 browser tests.
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.
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.