Install Crystal

Before getting started with building Noir, you’ll need to install Crystal-lang. Refer to the link below for installation guidance.

https://crystal-lang.org/install/

If you’re using macOS or Linux, you can easily install it through Homebrew.

brew install crystal

Clone noir

# Clone this repo
git clone https://github.com/noir-cr/noir
cd noir

Build

Install Dependencies

shards install

Build

shards build

By default, Crystal builds including debugging information. For release, build with the flags –release –no-debug to exclude debug info.