Start

Getting started

Install Sun, create a source file, and use the verified CLI.

01

Install

Use an official Sun distribution provided by Sunnylabs. Released Linux and Windows binaries have official installers. After installation, make sure the sun command is available in your terminal.

02

CLI commands

  • sun new [NAME] creates a source file (default: hello.sun).
  • sun run <FILE> executes with the interpreter; --project selects a root and repeatable --path adds function directories.
  • sun check <FILE> parses and validates source, parallel structure and project configuration without executing or transitively loading dependencies.
  • sun lex <FILE> prints the token stream.
  • sun repl starts a persistent interactive session and accepts --project and --path.
  • sun compile <FILE> [-o|--output <OUTPUT>] builds through LLVM/Clang.
  • Open the Sun Studio desktop application separately. sun studio is a legacy JSON protocol runner, not a command to launch the desktop editor; studio-session is its persistent engine protocol.
03

Create and run

Terminal
sun new hello.sun
sun check hello.sun
sun run hello.sun

Sun is proprietary software under experimental development. Documentation scope: Sun 0.6 development snapshot.