Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/iepsen/cmvm

CMake Version Manager
https://github.com/iepsen/cmvm

cmake homebrew linux macos rust tools

Last synced: 5 days ago
JSON representation

CMake Version Manager

Awesome Lists containing this project

README

        

# CMake Version Manager

[![ci](https://github.com/iepsen/cmvm/actions/workflows/ci.yml/badge.svg)](https://github.com/iepsen/cmvm/actions/workflows/ci.yml) ![Crates.io](https://img.shields.io/crates/v/cmvm)

cmvm is a simple tool that manages multiple CMake versions for macOS and Linux platforms.

## How to install

### Homebrew
```
brew tap iepsen/cmvm
brew install cmvm
```

### Cargo
```
cargo install cmvm
```

### Releases
Binaries are [available for download](https://github.com/iepsen/cmvm/releases) on both macOS and Linux platforms since [v0.3.3](https://github.com/iepsen/cmvm/releases/tag/v0.3.3).

## Adding cmake to the path
Once you have cmvm installed, you need to add CMake current version on your path. Use the following command to get instructions:
```
cmvm shell
```

## Usage

Install a CMake version:

```
cmvm install 3.20.1
```

List available CMake versions to install:

```
cmvm list-remote
```

List CMake versions managed by cmvm installed:

```
cmvm list
```

Switch to a CMake version:

```
cmvm use 3.20.1
```

List all commands available and usage examples:

```
cmvm help
```

## How to contribute
Feel free to [open an issue](https://github.com/iepsen/cmvm/issues) or pull request.