Installation
Install the Compiler
Section titled “Install the Compiler”Floe ships as a single prebuilt binary called floe. The install script detects your OS and architecture and drops the binary into ~/.local/bin:
curl -fsSL https://raw.githubusercontent.com/floeorg/floe/main/install.sh | shPin a specific version with FLOE_VERSION, or pick a different install directory with INSTALL_DIR:
curl -fsSL https://raw.githubusercontent.com/floeorg/floe/main/install.sh \ | FLOE_VERSION=v0.5.4 INSTALL_DIR=/usr/local/bin shSupported targets: macOS (arm64 + x86_64) and Linux (x86_64 + aarch64). On Windows, download the zip from the latest release and add the extracted directory to your PATH.
From Source
Section titled “From Source”If you already have Rust installed and want to hack on the compiler itself:
git clone https://github.com/floeorg/floecd floecargo install --path crates/floe-cli
# Verifyfloe --versionPrerequisites
Section titled “Prerequisites”Create a Project
Section titled “Create a Project”# Scaffold a new Floe projectfloe init my-appcd my-app
# Install npm dependenciesnpm install
# Compile .fl filesfloe build src/
# Or watch for changesfloe watch src/Editor Setup
Section titled “Editor Setup”VS Code
Section titled “VS Code”Install the Floe extension from the VS Code marketplace or Open VSX — search for “Floe”. This gives you syntax highlighting, LSP diagnostics, hover types, completions, and code snippets.
Other Editors
Section titled “Other Editors”Floe includes an LSP server. Start it with:
floe lspAny editor with LSP support can connect to it.