Installation
This guide shows two easy ways to get started with Soplang:
downloading a prebuilt release or using the official Docker image.
General Download (All Platforms)
-
Download:
Grab the latest release for your platform from the downloads page. -
Extract / Install:
Unzip or install the package as provided by the release.
If it’s a single binary, place it somewhere in yourPATH(e.g.,~/binon UNIX-like systems). -
(Optional) Add to PATH:
Ensure thesoplangbinary is available on your PATH. For example (bash/zsh):echo 'export PATH="$HOME/bin:$PATH"' >> ~/.bashrc && source ~/.bashrc -
Verify Installation:
Open your terminal and run:soplang --version
Run Your First Program
Create a file named hello.sop with the following content:
soplang hello.sop
Use Docker (No Local Install)
If you already have Docker, you can run Soplang without installing anything else.
-
Pull the Image:
docker pull soplang/soplang:latest -
Run an Interactive Session:
docker run -it --rm soplang/soplang -
Run a Local File:
Mount your project directory and execute a file:From your project directorydocker run -it --rm -v "$PWD":/app -w /app soplang/soplang soplang hello.sop
Checksums & Offline Install
Verify downloads: Compare the file’s checksum with the one on the downloads page.
Offline: Keep the extracted folder/binary and run directly—no internet required after download.
Troubleshooting
!
Make sure soplang
is on your PATH, or
run it via Docker as shown above.
🔒
If you downloaded a binary, grant execute permissions:
chmod +x /path/to/soplang
💬
Check the downloads page notes or ask in
community support