The Algorand AlgoKit CLI is the one-stop shop tool for developers building on the Algorand network. The goal of AlgoKit is to help developers build and launch secure, automated production-ready applications rapidly. AlgoKit contains these components:
- Smart contract templates - kickstart your dApp by selecting from our template library
- Web3 infrastructure - all the network, database, wallet, block explorer and APIs running locally
- Toolchain integrations - for languages you love: TypeScript and Python
- React component generation - frontend design simplified using components generated for each contract method call
The following tutorials guide you through various scenarios:
For details on how to use individual features see the following
- Bootstrap - Bootstrap AlgoKit project dependencies
- Completions - Install shell completions for AlgoKit
- Deploy - Deploy your smart contracts effortlessly to various networks
- Dispenser - interactive TestNet Dispenser for receiveing TestALGO
- Doctor - Check AlgoKit installation and dependencies
- Explore - Explore Algorand Blockchains using Dappflow
- Generate - Generate code for an Algorand project
- Goal - Run the Algorand goal CLI against the AlgoKit Sandbox
- Init - Quickly initialize new projects using official Algorand Templates or community provided templates.
- LocalNet - Manage a locally sandboxed private Algorand network.
Algorand AlgoKit is guided by the following solution principles which flow through to the applications created by developers.
- Cohesive developer tool suite: Using AlgoKit should feel professional and cohesive, like it was designed to work together, for the developer; not against them. Developers are guided towards delivering end-to-end, high quality outcomes on MainNet so they and Algorand are more likely to be successful.
- Seamless onramp: New developers have a seamless experience to get started and they are guided into a pit of success with best practices, supported by great training collateral; you should be able to go from nothing to debugging code in 5 minutes.
- Leverage existing ecosystem: AlgoKit functionality gets into the hands of Algorand developers quickly by building on top of the existing ecosystem wherever possible and aligned to these principles.
- Sustainable: AlgoKit should be built in a flexible fashion with long-term maintenance in mind. Updates to latest patches in dependencies, Algorand protocol development updates, and community contributions and feedback will all feed in to the evolution of the software.
- Secure by default: Include defaults, patterns and tooling that help developers write secure code and reduce the likelihood of security incidents in the Algorand ecosystem. This solution should help Algorand be the most secure Blockchain ecosystem.
- Extensible: Be extensible for community contribution rather than stifling innovation, bottle-necking all changes through the Algorand Foundation and preventing the opportunity for other ecosystems being represented (e.g. Go, Rust, etc.). This helps make developers feel welcome and is part of the developer experience, plus it makes it easier to add features sustainably.
- Meet developers where they are: Make Blockchain development mainstream by giving all developers an idiomatic development experience in the operating system, IDE and language they are comfortable with so they can dive in quickly and have less they need to learn before being productive.
- Modular components: Solution components should be modular and loosely coupled to facilitate efficient parallel development by small, effective teams, reduced architectural complexity and allowing developers to pick and choose the specific tools and capabilities they want to use based on their needs and what they are comfortable with.
Common AlgoKit CLI options¶
AlgoKit has a number of global options that can impact all commands. Note: these global options must be appended to
algokit and appear before a command, e.g.
algokit -v localnet start, but not
algokit localnet start -v. The exception to this is
-h, which can be appended to any command or sub-command to see contextual help information.
-h, --helpThe help option can be used on any command to get details on any command, its sub-commands and options.
-v, --verboseEnables DEBUG logging, useful when troubleshooting or if you want to peek under the covers and learn what AlgoKit CLI is doing.
--color / --no-colorEnables or disables output of console styling, we also support the NO_COLOR environment variable.
--skip-version-checkSkips updated AlgoKit version checking and prompting for that execution, this can also be disabled permanently on a given machine with
algokit config version-prompt disable.
See also the AlgoKit CLI Reference, which details every command, sub-command and option.