Flow CLI
Installation
Follow these steps to install the Flow CLI on macOS, Linux, and Windows.
Create your first project
The Flow CLI is Flow’s primary development and testing environment, similar to Hardhat and Foundry for developers familiar with writing in Solidity. With the Flow CLI super commands, initiating your new project becomes effortless. Execute the flow setup
command and make a selection from a variety of accessible scaffolds.
After you have created your new project you can proceed writing contracts and by running dev
command the CLI will make sure they are deployed to the Flow emulator for you. Flow emulator is
a simplified version of Flow network you can use locally to develop.
So proceed by starting the emulator:
After creating your new project you are ready to start writing contracts. The Flow emulator is a simplified local simulation of the Flow network. Running the dev command in the CLI ensures that the contracts are deployed to the Flow emulator for you.
And then the flow dev:
Next steps
As part of the next steps you can read more about flow dev command.
View all help commands
A single place where all CLI helps have been aggregated All Help commands.