cmake-version-manager-0.2.4 is not a library.
CMake Version Manager
CMake Version Manager (cvm
) is a command line tool that help manage currently
installed versions of cmake.
Supported Platforms
- Linux
- OSX
- Windows 10 (Powershell and nushell)
Install
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
- Linux:
export PATH=$HOME/.cvm/bins/current/bin:$PATH
- OSX:
export PATH=$HOME/.cvm/bins/current/CMAKE.app/Contents/bin:$PATH
- Windows:
$env:Path += ";$HOME/.cvm/bins/current/bin"
Examples
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.
Install
# For interactive mode
Switch
# For interactive mode to choose through installed versions
Remove
# For interactive mode to remove currently installed version
List
# Lists the latest 10 releases
# Lists all latests releases (max 100)
Simplified
# Installs if the version does not exits. Otherwise switches it.