Getting Started
Commands Complete reference of available commands
All project commands go through Nx for task orchestration, dependency resolution, and caching. Root package.json scripts are thin wrappers around nx run / nx run-many.
Command Description bun run devStart all dev servers in parallel (desktop, docs, server) bun run buildBuild all projects bun run testRun all tests bun run lintLint all projects bun run graphVisualize project dependency graph
Command Description bun run dev:desktopDesktop app dev server bun run dev:docsDocs site dev server bun run dev:serverRust gRPC + REST server bun run build:analysisBuild analysis crate bun run build:serverBuild server (depends on analysis) bun run build:desktopBuild desktop app bun run build:docsBuild docs site
You can also call Nx directly:
npx nx run server:build
npx nx run analysis:test
npx nx run-many -t build --projects=analysis,server
Command Description bun run build:desktopBuild Next.js for production bun run distPackage Electron distributable
Command Description cargo build --workspaceBuild all Rust crates (Windows for full workspace) cargo build --release --workspaceBuild all Rust crates optimized cargo build -p exfil-analysisBuild analysis crate only (cross-platform) cargo build -p exfil-serverBuild server only cargo build -p exfil-agentBuild agent only (Windows) cargo build -p exfil-certs-genBuild certificate generator bun run build:releaseBuild release binaries (analysis + server + certs)
Command Description cd desktop && bun run devStart Next.js dev server cd desktop && bun run dev:electronStart Electron app in dev mode
Command Description cargo run -p exfil-serverRun gRPC/HTTP server cargo run -p exfil-agentRun agent (Windows, requires driver) cargo run -p exfil-certs-genGenerate mTLS certificates
Command Description bun testRun all frontend tests
Command Description cargo test --workspaceRun all Rust tests (18 analysis tests) cargo test -p exfil-analysisTest analysis crate only cargo test -p exfil-serverTest server only
Command Description bun run checkBiome lint check bun run check:fixAuto-fix linting issues bun run formatFormat code with Biome bun run typecheckTypeScript type check
Command Description cargo clippy --workspaceLint all Rust code cargo fmtFormat Rust code
Command Description bun run distPackage Electron distributable
Command Description cd docs-site && bun run devStart docs dev server cd docs-site && bun run buildBuild docs for production cargo doc --openGenerate and open Rust docs