Nargo Installation
nargo
is a tool for working with Noir programs on the CLI, providing you with the ability to start new projects, compile, execute and test Noir programs from the terminal.
The name is inspired by Rust's package manager cargo
; and similar to Rust's rustup
, Noir also has an easy installation script noirup
.
Installing Noirup
Open a terminal on your machine, and write:
curl -L https://raw.githubusercontent.com/noir-lang/noirup/main/install | bash
Close the terminal, open another one, and run
noirup
Done. That's it. You should have the latest version working. You can check with nargo --version
.
You can also install nightlies, specific versions or branches. Check out the noirup repository for more information.
Now we're ready to start working on our first Noir program!