Installation
Sunya works on Linux, macOS, and Windows.
Linux & macOS
curl -sSL https://raw.githubusercontent.com/13x54n/sunya-v1/main/package/bin/install | shAdd ~/.local/bin to PATH if needed:
# macOS (zsh)
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
# Linux (bash)
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrcWindows (PowerShell)
irm https://raw.githubusercontent.com/13x54n/sunya-v1/main/package/bin/install.ps1 | iexRestart your terminal after installation so the PATH update takes effect.
Commands
sunya scan [dir]— Analyze contracts (default: ./contracts or ./src)sunya install— Install or update Slithersunya uninstall [-y]— Remove sunya (use-yto skip confirmation)
Uninstall
Works on all platforms:
sunya uninstall # Prompts for confirmation
sunya uninstall -y # Remove without promptingRequirements
- Linux, macOS: Bash, Node.js (recommended) or Python
- Windows: Node.js
- All platforms: Python 3 (for Slither)