OS Manuals

/usr/bin/k6

A modern load testing tool, using Go and JavaScript

From k6 2.0.0-r2 (os), captured 2026-11-05 by running k6 --help (exit 0). permalink

Also provided by 2 other package versions
         /\      Grafana   /‾‾/
    /\  /  \     |\  __   /  /
   /  \/    \    | |/ /  /   ‾‾\
  /          \   |   (  |  (‾)  |
 / __________ \  |_|\_\  \_____/

Grafana k6 is an easy-to-use, open-source load and performance testing tool

Usage:
  k6 [command]

Core Commands:
  new         Create a test
  run         Run a test
  cloud       Run and manage Grafana Cloud tests

Additional Commands:
  archive     Create an archive
  completion  Generate the autocompletion script for the specified shell
  deps        Resolve and list the dependencies of a test
  inspect     Inspect a script or archive
  x           Extension subcommands

Flags:
  -h, --help      Show help
      --version   Show version information

Examples:
  # Create a test
  $ k6 new test.js

  # Run a test
  $ k6 run test.js

  # Run a test in Grafana Cloud
  $ k6 cloud run test.js

  # Run locally, stream results to Grafana Cloud
  $ k6 cloud run --local-execution test.js

Documentation:
  # Look up the JavaScript API, examples, and best practices
  $ k6 x docs

  # Discover available k6 extensions
  $ k6 x explore

Use "k6 [command] --help" for more information about a command.
Options (2)
OptionDescriptionSource
-h, --helpShow helphelp
--versionShow version informationhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.