A small, batteries-included project manager

Build better C and C++ projects.

Clyx is a fast, cross-platform Rust CLI that turns a few clear commands into a clean, modern CMake project. Start coding instead of wiring up boilerplate.

Rust-powered Cross-platform MIT licensed
terminal

~ clyx new hello --language cpp

~ cd hello

~/hello clyx build --debug

✓ Build complete

~/hello clyx run

Designed for real projects C C++ CMake Rust

Why Clyx

Less setup. More building.

Everything you need to move from an empty directory to a maintainable project.

Start with a solid structure

Generate executable, static-library, or header-only templates with target-based CMake, separated sources, builds, and config.

A workflow that stays simple

One consistent interface for creating, configuring, compiling, running, and cleaning projects.

See the workflow

Use your toolchain

Choose your language standard, compiler, generator, build type, and parallel jobs when you need to.

C++23NinjaRelease

Safe by default

Non-destructive new and init commands preserve existing source files and CMake configuration.

The Clyx workflow

From idea to executable
in a few keystrokes.

Keep your project creation and daily build loop predictable, portable, and easy to understand.

01

Create

Pick a language, standard, template, tests, and Git.

02

Configure

Let CMake discover the right build layout and toolchain.

03

Build & run

Compile in Debug or Release, then launch your executable.

04

Ship cleanly

Inspect your setup and remove artifacts without touching your sources.

Get started

Install once.
Build anywhere.

Clyx requires a stable Rust toolchain. Generated projects use CMake 3.16+ and a C or C++ compiler.

Read the prerequisites
Install with Cargo
$ cargo install clyx
Create your first project
$ clyx new hello --language cpp \
  --standard c++20 --tests --git

One command at a time

Everything has a clear place.

new NAMECreate a new project from a template01
init [PATH]Initialize an existing directory safely02
buildConfigure and compile with CMake03
runBuild and execute the generated program04
cleanRemove generated build artifacts05
doctorCheck your compiler and build tools06

Ready when you are

Make your next CMake project feel effortless.

Explore Clyx