安装
macOS (Homebrew)
Section titled “macOS (Homebrew)”brew install sentrux/tap/sentruxcurl -fsSL https://raw.githubusercontent.com/sentrux/sentrux/main/install.sh | sh此命令会将最新版本的二进制文件下载到 /usr/local/bin/sentrux。
Windows
Section titled “Windows”从 Releases 页面下载,或执行:
curl -L -o sentrux.exe https://github.com/sentrux/sentrux/releases/latest/download/sentrux-windows-x86_64.exegit clone https://github.com/sentrux/sentrux.gitcd sentrux && cargo build --release编译产物位于 target/release/sentrux。
sentrux --version# sentrux 0.5.7GPU 后端(Linux)
Section titled “GPU 后端(Linux)”sentrux 会自动尝试多种 GPU 后端。如果应用无法启动:
WGPU_BACKEND=vulkan sentrux # 强制使用 VulkanWGPU_BACKEND=gl sentrux # 强制使用 OpenGL# Homebrewbrew update && brew upgrade sentrux
# Linux — 重新运行安装脚本curl -fsSL https://raw.githubusercontent.com/sentrux/sentrux/main/install.sh | sh