凭据访问
Reads environment variables, test scripts, and optional cloud tokens.
代理安全
k6 runs load tests that can hit local or remote systems with scripted traffic.
Reads environment variables, test scripts, and optional cloud tokens.
Can generate traffic against production endpoints or upload cloud results.
Can publish test results or stress external systems.
Gate cloud uploads, production targets, and secret-backed test runs.
Allow local dry tests; require approval for remote load, cloud output, and tokens.
安装
brew install k6local Homebrew formula metadata
nix profile install nixpkgs#k6nixpkgs package indexes · pkgs/by-name/k6/k6/package.nix · 来源: api.github.com
sudo zypper install k6openSUSE Tumbleweed package metadata · k6 · 来源: download.opensuse.org
choco install k6Chocolatey community package catalog · k6 · 来源: community.chocolatey.org
scoop install main/k6Scoop official bucket manifest trees · bucket/k6.json · 来源: api.github.com
winget install --id GrafanaLabs.k6 -eWindows Package Manager source index · GrafanaLabs.k6 · 来源: cdn.winget.microsoft.com
概览
Modern load testing tool, using Go and JavaScript
历史
Grafana k6 is an open source load and performance testing tool written in Go with test scripts authored in JavaScript or TypeScript, designed for developer-friendly reliability testing from local runs through cloud and CI workflows.
k6 began as an open source load-testing tool from Load Impact, with public releases visible from 2017. It combined a Go runtime with JavaScript test scripts, aiming to make load tests feel like code that developers could keep with application projects.
Load Impact rebranded around k6 in 2020, including the GitHub repository move from `loadimpact/k6` to `k6io/k6`. Grafana Labs acquired the Stockholm-based k6 company in June 2021 and folded the project into Grafana's observability stack.
In 2025, Grafana announced k6 1.0 as a general-availability milestone with Semantic Versioning, stability guarantees, TypeScript support, native extensibility, and a stronger long-term support story.
k6 adoption grew from teams wanting scripted, automatable load testing without older GUI-heavy workflows. Its JavaScript API, CLI-first design, thresholds, CI integrations, and Grafana/Prometheus-friendly metrics made it attractive to developers, SREs, QA engineers, and platform teams.
After the Grafana acquisition, k6 became part of a broader observability loop: generate load with k6, observe behavior in Grafana-backed systems, and use cloud or Kubernetes execution when local tests are not enough.
Users write test scenarios in JavaScript or TypeScript and run them with `k6 run`, often checking thresholds in CI. More advanced setups send metrics to observability backends, run distributed tests, use extensions, or execute tests through Grafana Cloud k6.
k6 is significant because it made load testing feel like a normal developer CLI dependency: install a binary, commit scripts, run in CI, and export metrics. Its Go-plus-JavaScript architecture also makes it an interesting packaging target: a single executable with an embedded scripting engine and extension ecosystem.
安全态势
没有找到 k6 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/Library/Application Support/k6/config.json~/.config/k6/config.jsonCredential-bearing paths to review before unattended agent runs.
~/Library/Application Support/k6/config.json~/.config/k6/config.json可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
k6 | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:k6 |
|---|---|
| 版本 | 2.1.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/k6 |
| 主页 | https://k6.io |
| 仓库 | https://github.com/grafana/k6 |
| 上游文档 | https://grafana.com/docs/k6/latest |
| 许可证 | AGPL-3.0-or-later |
| 源码归档 | https://github.com/grafana/k6/archive/refs/tags/v2.1.0.tar.gz |
| 最后更新 | 2026-06-30T09:51:09Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | k6 |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
k6
nix profile install nixpkgs#k6k6 2.0.0-1.1
Modern load testing tool, using Go and JavaScript
sudo zypper install k6k6-bash-completion 2.0.0-1.1
Bash Completion for k6
sudo zypper install k6-bash-completionk6-fish-completion 2.0.0-1.1
Fish Completion for k6
sudo zypper install k6-fish-completionk6-zsh-completion 2.0.0-1.1
Zsh Completion for k6
sudo zypper install k6-zsh-completionk6
sudo port install k6k6
choco install k6main/k6
scoop install main/k6GrafanaLabs.k6
winget install --id GrafanaLabs.k6 -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.