asdf-k6

June 23, 2026 ยท View on GitHub

Build Lint

k6 plugin for the asdf version manager.

Install

asdf plugin add k6 https://github.com/gr1m0h/asdf-k6.git

Usage

See the asdf documentation for the full set of commands. The most common ones are:

# Show all installable versions
asdf list all k6

# Install a specific version
asdf install k6 latest
asdf install k6 0.50.0

# Set a version globally (writes to ~/.tool-versions)
asdf set -u k6 latest

# Set a version for the current project (writes to ./.tool-versions)
asdf set k6 0.50.0

Contributing

Contributions are welcome! This plugin is linted with shellcheck and shfmt, and tested with asdf-vm/actions.

The required tooling versions are pinned in .tool-versions, so you can install them with asdf:

asdf install
# Format the shell scripts
./scripts/format.bash

# Lint the shell scripts
./scripts/lint.bash

License

MIT