Skip to content
This guide targets Fe 26.5. Fe is not production-ready. Install Fe 26.5

Installation

This guide and its CI examples target Fe 26.5.0. Install it with feup, the Fe toolchain installer:

Terminal window
curl -fsSL https://raw.githubusercontent.com/argotorg/fe/master/feup/feup.sh | bash -s -- --version v26.5.0

This installs the fe compiler and feup command to ~/.fe/bin/. Restart your shell or load the environment:

Terminal window
source ~/.fe/env

On macOS and Linux you can also install Fe via Homebrew:

Terminal window
brew install fe-lang/tap/fe

The Homebrew formula can lag behind the latest release. Check the installed version as described below, and use feup if it does not report 26.5.0.

Fe provides pre-built binaries for:

PlatformArchitecture
Linuxx86_64, ARM64
macOSx86_64, ARM64 (Apple Silicon)
Windowsx86_64

After installing, verify that Fe is working:

Terminal window
fe --version

The version should start with fe 26.5.0.

To build the compiler from source, clone the repository and build with Cargo:

Terminal window
git clone https://github.com/argotorg/fe.git
cd fe
git checkout v26.5.0
npm ci --prefix crates/tree-sitter-fe
cargo install --locked --path crates/fe

This requires a working Rust toolchain, Node/npm to install the pinned tree-sitter generator, and a C toolchain.

With Fe installed, head over to Your First Contract to write, deploy, and interact with a Counter contract.