| Crates.io | cmake-version-manager |
| lib.rs | cmake-version-manager |
| version | 0.2.4 |
| created_at | 2021-06-02 00:22:37.134604+00 |
| updated_at | 2023-11-22 15:39:16.51411+00 |
| description | CMake version helps manage installed versions of cmake. |
| homepage | |
| repository | https://github.com/ParagonPawns/cmake-version-manager |
| max_upload_size | |
| id | 404998 |
| size | 72,354 |
CMake Version Manager (cvm) is a command line tool that help manage currently
installed versions of cmake.
To install cvm you will need to have cargo. Installing Rust will provide
cargo tools. Visit https://www.rust-lang.org/tools/install for installation
steps. Once installed you can run cargo install cmake-version-manager.
After installing make sure to add the following to your profiles
export PATH=$HOME/.cvm/bins/current/bin:$PATHexport PATH=$HOME/.cvm/bins/current/CMAKE.app/Contents/bin:$PATH$env:Path += ";$HOME/.cvm/bins/current/bin"Below are some visual examples on how to use cvm. But keep in mind that at any
point you can use cvm --help to find a list of commands that can be used.
$ cvm install 3.20.2
# For interactive mode
$ cvm install
$ cvm switch 3.20.1
# For interactive mode to choose through installed versions
$ cvm switch
$ cvm remove 3.20.2
# For interactive mode to remove currently installed version
# Lists the latest 10 releases
$ cvm list
# Lists all latests releases (max 100)
$ cvm list --all
# Installs if the version does not exits. Otherwise switches it.
cvm 3.19.6