Get the command-line tool
The FilaScript command-line tool (CLI) runs .fsig programs on your computer, without Minecraft.
What you need
Section titled “What you need”A Java runtime or JDK 25 or newer, for example Eclipse Temurin 25, on your PATH or in the JAVA_HOME
environment variable. You do not need Minecraft, Node.js or Bun.
Download
Section titled “Download”- Download
filascript-cli-1.0.0.zipfrom the GitHub release and unzip it. - In a terminal, go into the unzipped
filascript-cli-1.0.0folder and run the included example:
# Linux and macOSbin/filascript-cli run examples/hello.fsig# Windows.\bin\filascript-cli.bat run .\examples\hello.fsigYou should see:
Hello, FilaScript!Build it yourself
Section titled “Build it yourself”With Git and a JDK 25:
git clone https://github.com/Venuss1337/filasignal.gitcd filasignal./gradlew :filascript-cli:installDistfilascript-cli/build/install/filascript-cli/bin/filascript-cli run examples/hello.fsigOn Windows PowerShell, use .\gradlew.bat and .\filascript-cli\build\install\filascript-cli\bin\filascript-cli.bat.
Commands
Section titled “Commands”| Command | What it does |
|---|---|
filascript-cli run FILE.fsig |
Checks the program and runs its fn main(). |
filascript-cli ast FILE.fsig |
Prints the program’s syntax tree, a debugging view of how it was understood. |
filascript-cli --version |
Prints the version and a usage line (also with no arguments). |
See the CLI reference for exit codes and error output.
Next: write your first program.