Skip to content

Getting Started

Catalyst is young, so the first goal is to make the path into the language obvious and easy to update as the compiler matures.

Install

Add the official install command here once the compiler is published.

# Placeholder until Catalyst has a published toolchain.
catalyst --version

Create a file

Create hello.cat:

module hello

fn main() -> Int {
  print("hello, Catalyst")
  return 0
}

Run it

catalyst run hello.cat

Next steps