cpm registry

The package registry for CPM

C++ libraries, one command away

Find a library, add it with cpm install, and build. Each one is compiled once per toolchain and shared by all your projects. No CMake.

0 packages·0 versions·0 downloads

Install CPM

curl -fsSL https://cpm-registry.com/install.sh | sh

In a terminal. Installs a C++ compiler and Ninja too, if you need them.

Popular

See all

Recently updated

See all

New to CPM?

A manifest, a lockfile and dependencies built once and shared: the npm workflow, for C++.

  1. 1
    cpm init -y hello && cd hello

    A project: cpm.jsonc, src/ and tests/

  2. 2
    cpm install fmt

    Adds the library and locks its version

  3. 3
    cpm run

    Builds with Ninja and runs it