Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ParagonPawns/cmake-version-manager
Quick and easy way to manage installed cmake versions.
https://github.com/ParagonPawns/cmake-version-manager
Last synced: 26 days ago
JSON representation
Quick and easy way to manage installed cmake versions.
- Host: GitHub
- URL: https://github.com/ParagonPawns/cmake-version-manager
- Owner: ParagonPawns
- License: mit
- Created: 2021-05-29T01:20:46.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-11-22T15:34:18.000Z (about 1 year ago)
- Last Synced: 2024-04-26T23:40:41.578Z (8 months ago)
- Language: Rust
- Size: 80.1 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-version-managers - cvm - A cross platform command-line tool that help manage currently installed versions of CMake. (Version Managers / CMake)
README
# 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
```sh
$ cvm install 3.20.2# For interactive mode
$ cvm install
```### Switch
```sh
$ cvm switch 3.20.1# For interactive mode to choose through installed versions
$ cvm switch
```### Remove
```sh
$ cvm remove 3.20.2# For interactive mode to remove currently installed version
```### List
```sh
# Lists the latest 10 releases
$ cvm list# Lists all latests releases (max 100)
$ cvm list --all
```### Simplified
```sh
# Installs if the version does not exits. Otherwise switches it.
cvm 3.19.6
```