Skip to content

vixcpp/cli

Repository files navigation

Vix.cpp CLI Module

Official command-line interface for Vix.cpp.

The Vix CLI provides a modern developer workflow for C++ projects: create, build, run, test, format, manage dependencies, inspect the environment, and package applications.

Documentation

Full documentation is available here:

https://docs.vixcpp.com/cli/

Main commands

vix new app
cd app
vix install
vix dev
vix build
vix run
vix tests
vix check
vix fmt

Script mode

Run a single C++ file directly:

vix run main.cpp

Dependency management

vix add @softadastra/json
vix install
vix update
vix list
vix remove @softadastra/json

More information:

https://docs.vixcpp.com/cli/add

Project information

vix info
vix doctor

More information:

https://docs.vixcpp.com/cli/info

Build

Standalone CLI build

git clone https://github.com/vixcpp/vix.git
cd vix/modules/cli
cmake -B build -S .
cmake --build build -j$(nproc)

Run the binary:

./build/vix

Full Vix build

git clone https://github.com/vixcpp/vix.git
cd vix
cmake -B build -S .
cmake --build build -j$(nproc)

Useful links

License

MIT License.

See LICENSE for details.