Installation Guide
Quick Install (Windows One-Liner)
Install SenaVN directly via PowerShell without administrative privileges:
irm https://raw.githubusercontent.com/biyuehu/vn-cli/main/install.ps1 | iexWhat this does
- Queries GitHub Releases API for the latest release.
- Downloads
sena-x86_64-windows.exeand saves it as~/.senavn/bin/sena.exe(andSenaVN.exe). - Downloads
sena-guard-x86_64-windows.exeand saves it as~/.senavn/bin/sena-guard.exe. - Appends
~/.senavn/binto the user’s persistentPATHenvironment variable. - Refreshes current session
$env:PATH.
Manual Installation
- Navigate to GitHub Releases.
- Download:
sena-x86_64-windows.exe(rename tosena.exe)sena-guard-x86_64-windows.exe(rename tosena-guard.exe)LICENSE
- Place both executables in the same directory (e.g.
C:\Tools\SenaVNor%USERPROFILE%\.senavn\bin). - Add that directory to your system or user
PATH.
Building from Source
Prerequisites
- GHC 9.8.2 & Cabal 3.10+ (via GHCup)
- Rust Stable (via rustup)
- Just task runner (optional:
cargo install just)
Build Commands
git clone https://github.com/biyuehu/vn-cli.git
cd vn-cli
# Compiles Rust daemon and Haskell CLI, then syncs sena-guard.exe to dist directory
just buildRun test suite:
cabal test