add build documentation

This commit is contained in:
Adir Shitrit
2025-11-07 18:05:51 +02:00
parent 6742e25ea8
commit 08ba83b110

36
BUILD.md Normal file
View File

@@ -0,0 +1,36 @@
# Build Instructions
## Prerequisites
### Windows
- Rust toolchain (MSVC target)
- Visual Studio Build Tools with C++ workload
- Windows SDK
Install via:
```powershell
rustup default stable-msvc
```
### Linux
- Rust toolchain
- GCC/Clang
- libelf-dev (for eBPF)
### macOS
- Rust toolchain
- Xcode Command Line Tools
## Building
```bash
cargo build --release
```
## Running
```bash
cargo run --bin ghost-cli
```
Note: Requires elevated privileges for full process memory access.