Skip to content

Installation

Si, the shepherd dog downloading a file

Getting started with StellarTrails is easy! This section will guide you through downloading and running the StellarTrails interpreter on your system.

1. Download the Binary

Visit the StellarTrails Releases page and download the latest native binary for your platform:

  • macOS (Apple Silicon, arm64): stellartrails-interpreter-macos-arm64

After downloading, rename the binary for convenience:

mv stellartrails-interpreter-macos-arm64 si
chmod +x si

2. Run Your First Program

Create a file called hello.stellartrails with the following content:

print("Hello, StellarTrails!")

Run it from the terminal:

./si hello.stellartrails

You should see:

Hello, StellarTrails!

3. Troubleshooting

  • If you see a "Permission denied" error, ensure the binary is executable (chmod +x si).
  • For other issues, visit the GitHub Issues page for help.

Next: Hello World