Skip to main content

Installation

Get SLOP up and running in minutes!

Prerequisites​

Install from Source​

1. Clone the Repository​

git clone https://github.com/standardbeagle/slop.git
cd slop

2. Build the Project​

go mod tidy
go build -o slop ./cmd/slop

3. Verify Installation​

./slop --version

You should see output like:

slop version 0.1.0

Add to PATH (Optional)​

Linux/macOS​

sudo mv slop /usr/local/bin/

Windows​

Add the slop directory to your PATH environment variable.

Quick Test​

Create a test file hello.slop:

# hello.slop
message = "Hello, SLOP! 🚀"
emit(message)

Run it:

slop run hello.slop

You should see:

Hello, SLOP! 🚀

Next Steps​

Troubleshooting​

go: command not found​

Install Go from https://go.dev/dl/

module not found​

Run go mod tidy to download dependencies.

Permission denied​

On Linux/macOS, make the binary executable:

chmod +x slop

Need help? Open an issue!