Task plugin for the asdf version manager.
Task is a task runner / build tool that aims to be simpler and easier to use than, for example, GNU Make.
Required:
bash(3.2+),curl,tar,git- POSIX utilities
Optional:
sha256sumorshasum- For checksum verificationdf- For disk space checking
asdf plugin add task
# or
asdf plugin add task https://github.com/sgaunet/asdf-task.git# Show all installable versions
asdf list-all task
# Install specific version
asdf install task latest
# Set a version globally (on your ~/.tool-versions file)
asdf global task latest
# Now task commands are available
task --version
# Get help
asdf help taskCheck the asdf documentation for more instructions on how to install & manage versions.
The plugin supports several environment variables for customization:
| Variable | Default | Description |
|---|---|---|
ASDF_TASK_DEBUG |
0 |
Enable debug output for troubleshooting |
ASDF_TASK_MAX_RETRIES |
3 |
Maximum retry attempts for network operations |
ASDF_TASK_RETRY_DELAY |
2 |
Delay in seconds between retries |
GITHUB_API_TOKEN |
- | GitHub token for higher API rate limits |
- ✅ Automatic retries - Network operations are retried on failure
- ✅ Checksum verification - Downloads are verified when checksums are available
- ✅ Progress indicators - Visual feedback during downloads
- ✅ Debug mode - Detailed logging for troubleshooting
- ✅ Platform detection - Automatic detection of OS and architecture
- ✅ Disk space checking - Verifies available space before installation
- ✅ Multi-platform support - Linux, macOS, Windows (WSL), BSD variants
- ✅ Architecture support - amd64, arm64, 386, arm
Contributions of any kind are welcome! See the contributing guide.
This project uses Task for automation:
# List available tasks
task
# Format code
task format
# Run linting
task lint
# Run tests
task testasdf plugin test <plugin-name> <plugin-url> [--asdf-tool-version <version>] [--asdf-plugin-gitref <git-ref>] [test-command*]
asdf plugin test task https://github.com/sgaunet/asdf-task "task --version"Tests are automatically run in GitHub Actions on push and PR.
Thanks goes to these contributors!
See LICENSE