Skip to main content
Time to read: 1 min

Create a Foundry Project

In this guide, we will learn about Foundry and its benefits for smart contract development, how to setup your environment, create a Foundry project and execute a deployment script.

Installation

To install, use Foundryup. Foundryup is the Foundry toolchain installer. You can find more information in the Foundry README.

curl -L https://foundry.paradigm.xyz | bash
Windows Users

If you’re using Windows, you’ll need to install and use Git BASH or WSL as your terminal, since Foundryup currently doesn’t support Powershell or Command Prompt (Cmd).

Running foundryup by itself will install the latest (nightly) precompiled binaries: forge, cast, anvil, and chisel.

Visit the installation guides for more information.

Create a foundry project

To start a new project with Foundry, use forge init.

forge init hello_foundry

See more details on how to create a new project using the Foundry guide.

Last updated on by Owanate Amachree