Skip to content

software-mansion/starkup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

starkup: the Cairo toolchain installer

Starkup helps you install all the tools you will use to develop packages in Cairo and write contracts for Starknet.

Getting started

Run the following in your terminal, then follow the onscreen instructions.

curl --proto '=https' --tlsv1.2 -sSf https://sh.starkup.sh | sh

Supported tools

Starkup supports the installation of the following tools:

Installing specific versions

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 other
  • latest: 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

Architecture

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!

Community

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!

Troubleshooting

If you have curl installed through snap store, Starkup may fail with following error:

curl: (23) client returned ERROR on write of 1317 bytes

To make sure if curl is installed via snap, you can run this command:

$ sudo snap list | grep curl

In this case, you should try reinstalling curl from other distribution channels. For instance, on Debian / Ubuntu based systems you can try running:

$ sudo snap remove curl
$ sudo apt install curl

About

Tool for installing all the Starknet essentials for development.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 9

Languages