Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

vixcpp/cli

Open more actions menu

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.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.