Description
Right now, ctx self-update
or ctx update
always downloads the latest version.
It would be cool to have an option to:
- Download a specific version
- Force re-download even if the same version is already installed
Why
✅ Sometimes we need an old version for testing or compatibility reasons.
✅ In CI/CD pipelines, we may want to pin a specific version.
✅ For debugging, it's useful to rollback to an earlier version.
✅ If the binary is broken or corrupted, it would be nice to re-download the same version.
Suggested Implementation:
Add optional flags:
ctx self-update --version=1.2.3
# or short
ctx update -v 1.2.3
ctx self-update --force
# or
ctx update -f
# Combine both
ctx update -v 1.2.3 -f
List Available Versions (Optional)
Add new command:
ctx versions
It shows available versions from GitHub releases
4. Show Info for Specific Version
Add option to show release description for specific version:
ctx versions -v 1.19.0
Example output:
Version: 1.19.0
Released: 2025-02-15
Changelog:
- Fixed inline config parsing bug
- Improved self-update performance
- Added --env-file option
Metadata
Metadata
Assignees
Type
Projects
Status
Backlog