Skip to content

Installation

Quick Install

powershell
irm https://sad-lang.org/install.ps1 | iex
bash
curl -fsSL https://sad-lang.org/install.sh | bash
bash
brew install sad-lang/tap/sad
powershell
scoop bucket add sad https://github.com/sad-lang/scoop-bucket
scoop install sad

After installation, verify:

bash
sad --version

Manual Installation

Windows

  1. Download sad-setup-1.0.0-windows-x64.exe from the Download page
  2. Run the installer as Administrator
  3. Follow the wizard — sad is added to PATH automatically

Linux

bash
wget https://github.com/SalehKadah/s-programming-language/releases/download/v1.0.0/sad-1.0.0-x86_64.AppImage
chmod +x sad-1.0.0-x86_64.AppImage
./sad-1.0.0-x86_64.AppImage build my-file.ص -o my-file

macOS

bash
open sad-lang-1.0.0-macos-universal.pkg

VS Code Extension

bash
code --install-extension sad-language-2.0.0.vsix

Verify Installation

bash
echo 'اطبع_سطر("Installation successful! 🎉")' > test.ص
sad-build test.ص -o test
./test
# Output: Installation successful! 🎉

Next: Your First Program →

Released under MIT License