Installation

Sunya works on Linux, macOS, and Windows.

Linux & macOS

curl -sSL https://raw.githubusercontent.com/13x54n/sunya-v1/main/package/bin/install | sh

Add ~/.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"' >> ~/.bashrc

Windows (PowerShell)

irm https://raw.githubusercontent.com/13x54n/sunya-v1/main/package/bin/install.ps1 | iex

Restart 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 Slither
  • sunya uninstall [-y] — Remove sunya (use -y to skip confirmation)

Uninstall

Works on all platforms:

sunya uninstall      # Prompts for confirmation
sunya uninstall -y   # Remove without prompting

Requirements

  • Linux, macOS: Bash, Node.js (recommended) or Python
  • Windows: Node.js
  • All platforms: Python 3 (for Slither)