Highlights
v0.0.3 improves daily cvm usability by allowing version prefixes, adding managed compiler path inspection, and making cvm version more useful for diagnosing local setup issues.
Changes
- Added version prefix resolution.
cvm install llvm 21resolves to the latest matching LLVM 21 release.cvm use gcc 15,cvm env,cvm alias default,cvm uninstall, andcvm whichresolve against locally installed versions.
- Added
cvm ls-remote [llvm|gcc] [prefix]for filtered remote version listing. - Added
cvm which <llvm|gcc> [version-or-prefix]to print cvm-managed compiler binary paths. - Extended
cvm versionwith lightweight diagnostics forCVM_HOME,cvm.sh, PATH, and default toolchain status. - Updated project version, installer default version, README, README_CN, and embedded remote index metadata to v0.0.3.
Documentation
- Added
docs/troubleshooting.md. - Documented glibc/musl release binary behavior, proxy variables, PATH priority, shell profile loading, and source build dependency failures.
- Updated command examples to use version prefixes where appropriate.
Testing
- Simplified brittle documentation tests that asserted implementation details such as exact runner labels or action versions.
- Added tests for prefix resolution,
which,ls-remotefiltering, andversiondiagnostics.
Upgrade Notes
Re-running install.sh replaces $HOME/.cvm/bin/cvm and regenerates $HOME/.cvm/cvm.sh. Existing compiler installations and defaults under $HOME/.cvm are preserved.