Start with a solid structure
Generate executable, static-library, or header-only templates with target-based CMake, separated sources, builds, and config.
A small, batteries-included project manager
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.
~ clyx new hello --language cpp
~ cd hello
~/hello clyx build --debug
✓ Build complete
~/hello clyx run
Why Clyx
Everything you need to move from an empty directory to a maintainable project.
Generate executable, static-library, or header-only templates with target-based CMake, separated sources, builds, and config.
One consistent interface for creating, configuring, compiling, running, and cleaning projects.
See the workflowChoose your language standard, compiler, generator, build type, and parallel jobs when you need to.
Non-destructive new and init commands preserve existing source files and CMake configuration.
The Clyx workflow
Keep your project creation and daily build loop predictable, portable, and easy to understand.
Pick a language, standard, template, tests, and Git.
Let CMake discover the right build layout and toolchain.
Compile in Debug or Release, then launch your executable.
Inspect your setup and remove artifacts without touching your sources.
Get started
Clyx requires a stable Rust toolchain. Generated projects use CMake 3.16+ and a C or C++ compiler.
Read the prerequisites$ cargo install clyx
$ clyx new hello --language cpp \
--standard c++20 --tests --git
One command at a time
new NAMECreate a new project from a template01init [PATH]Initialize an existing directory safely02buildConfigure and compile with CMake03runBuild and execute the generated program04cleanRemove generated build artifacts05doctorCheck your compiler and build tools06Ready when you are