Getting Started
Last updated
Last updated
Getting started with Frost is as simple as downloading the latest release for your platform. The pre-built binaries offer the fastest way to begin your journey with Frost programming. Currently available for Linux
(x86_64) and macOS
(x86_64 and arm64).
Download and Install
Navigate to the
Download the latest version for your operating system
Extract the archive to your preferred location
Add the frostc
binary to your system's PATH
Verify the installation:
For those who prefer to build from source or need the latest development version, follow these steps for a complete development environment setup.
Prerequisites
Git version control system
GHC 9.4.8 (Haskell compiler)
Cabal package manager
LLVM 19 toolchain
Make build system
Installing Dependencies
First, ensure you have GHCup installed for managing Haskell tools:
Install the required Haskell components:
Building Frost
Clone the repository with submodules:
Build the compiler:
The build process will compile all dependencies and create the frostc
binary in the repository root.
Verifying Installation
Create a simple Frost program to verify your installation:
With Frost installed, you're ready to start creating beautiful systems programs. Continue to the next section to learn about Frost's core concepts and begin writing your first real program.
Remember to check out the examples directory in the repository for inspiration and common patterns in Frost programming.
Save it as hello.ff
and use to JIT-compile and run the program: