In the following commands, make sure to substitute the name of your Avalanche L1 configuration for <blockchainName>.
To deploy your Avalanche L1, run
and, select Local Network to deploy on. Alternatively, you can bypass this prompt by providing the --local flag. For example:
The command may take a couple minutes to run.
Note
If you run bash on your shell and are running Avalanche-CLI on ARM64 on Mac, you will require Rosetta 2 to be able to deploy Avalanche L1s locally. You can download Rosetta 2 using softwareupdate --install-rosetta .
You may deploy multiple Avalanche L1s concurrently, but you can't deploy the same Avalanche L1 multiple times without resetting all deployed Avalanche L1 state.
To redeploy the Avalanche L1, you first need to wipe the Avalanche L1 state. This permanently deletes all data from all locally deployed Avalanche L1s. To do so, run: avalanche network clean
You are now free to redeploy your Avalanche L1 with: