Skip to content
Docs / Installation

Installation

Build VSI from source with CMake, understand binary placement, and manage the foreground process lifecycle.

Prebuilt Binaries

No Prebuilt Linux Packages Published Yet

GitHub Releases currently contain no tagged binary archives (.tar.gz, .deb, or .rpm). Building from source using CMake is the supported installation method.

Building from Source

Install a C11 compiler, CMake (>= 3.28.3), Make, and Git using your Linux distribution package manager, then compile the vsi_ngine target:

Debian / Ubuntu prerequisites & build
sudo apt update && sudo apt install -y build-essential cmake git
git clone https://github.com/VIKO-LABS/VNM.git
cd VNM
cmake -S . -B build
cmake --build build

The compiled binary is generated at build/vsi_ngine. CMakeLists.txt does not currently define install() targets, so system-wide installation is optional and performed manually if desired:

Optional manual binary installation
sudo install -m 0755 build/vsi_ngine /usr/local/bin/vsi_ngine
sudo mkdir -p /etc/vsi
sudo cp config.json /etc/vsi/config.json

Running and Stopping vsi_ngine

vsi_ngine runs as a foreground Linux process. When only one service is enabled, it executes directly in the main process. When both Forward Proxy and Reverse Proxy are enabled, main() forks an isolated child process per service and supervises them.

To stop VSI cleanly, send SIGINT (Ctrl+C in the terminal) or SIGTERM. In multi-service supervisor mode, main() catches SIGINT/SIGTERM, forwards SIGTERM to all child service PIDs, and reaps them via waitpid() before exiting.

Run with explicit config path & stop cleanly
# Start in foreground
/usr/local/bin/vsi_ngine -c /etc/vsi/config.json
# Or stop a backgrounded instance by PID
kill -TERM <pid>