INSTALL SE 0.7.0

Install and start building

The prebuilt release supports the REPL, run, check, check-all, test, and web build. Native `se build` additionally requires a C++20 compiler.

macOS / Linux

Use the release installer, then verify the environment with se doctor.

Terminal
curl -fsSL https://raw.githubusercontent.com/funlearnstudio/SE/main/install.sh | sh

se --version
se doctor

Windows PowerShell

Run the installer in PowerShell, then verify the CLI.

PowerShell
irm https://raw.githubusercontent.com/funlearnstudio/SE/main/install.ps1 | iex

se --version
se doctor

The core workflow

Check, run, test, build native programs, and compile Web projects through one `se` CLI.

Terminal
se check app.se          # static checking
se check-all .            # check a project
se run app.se            # interpreter
se test .                # tests
se build app.se          # C++20 native backend
se new app myapp         # new app
se new web mysite        # new Web project
se web build app.se dist # Web compiler

Build SE from source

Use this path when developing the compiler/runtime or testing the latest main source.

Terminal
git clone https://github.com/funlearnstudio/SE.git
cd SE
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --parallel
ctest --test-dir build --output-on-failure
./build/se --version
`se build` currently emits C++20. Even when the SE CLI comes from a prebuilt package, native builds still require a system C++20 compiler.