Starkup helps you install all the tools you will use to develop packages in Cairo and write contracts for Starknet.
Run the following in your terminal, then follow the onscreen instructions.
curl --proto '=https' --tlsv1.2 -sSf https://sh.starkup.sh | sh
Starkup supports the installation of the following tools:
- Scarb: package manager for Cairo
- Starknet Foundry: testing framework for Cairo and Starknet
- Starknet Devnet: local testnet for Starknet
- Universal Sierra Compiler: compiler for any existing or past Sierra version
- Cairo Profiler: profiler for Cairo and Starknet
- Cairo Coverage: coverage report generator for Cairo
- CairoLS: VS code extension for Cairo
Starkup allows you to choose which versions of tools to install using the --version-set
flag.
The following version sets are available:
compatible
(default): Installs versions of all tools that are known to be compatible with each otherlatest
: Installs latest versions of all tools, which may be incompatible with each other
To install a specific version set (e.g. latest
), run the following:
curl --proto '=https' --tlsv1.2 -sSf https://sh.starkup.sh | sh -s -- --version-set latest
Starkup relies on ASDF package manager to install the latest versions of Scarb and Starknet Foundry. If you don't have ASDF yet, no worries - Starkup can handle that as well!
Starkup is created by the same team at Software Mansion that is behind Scarb the Cairo package manager and Starknet Foundry, the Cairo and Starknet testing framework. We partnered with [Starkware], the creators of Cairo and Starknet.
Feel free to chat with us on our channel on Telegram or Starknet's Discord!