THIS IS IN BETA
This tool simplifies setting up and starting an Algorand mainnet node. You should know your way around a CLI if you're planning to use it
The key required dependency is Python 3.10+, but some of the installation options below will install that for you.
Algorun also has some runtime dependencies that also need to be available for particular commands.
-
Docker - Docker Compose (and by association, Docker) is used to run the Algorand mainnet container, we require Docker Compose 2.5.0+
-
Pipx - a better package manager than pip that you'll use to install the cli
-
Ensure desired prerequisites are installed
-
Install using pipx
pipx install algorun -
Restart the terminal to ensure Algorun is available on the path
- To update Algorun:
pipx upgrade algorun - To remove Algorun:
pipx uninstall algorun
Verify Algorun is installed correctly by running algorun --version and you should see output similar to:
algorun, version 0.1
Create a directory where you're comfortable keeping the node config and files, we suggest naming it algorand, open that directory in a terminal
algorun startwill start your node by creatingdocker-compose.yml,config.jsonfiles and adatadirectory where your node will persist.algorun stopwill shut down your nodealgorun goalis a wrapper for the Goal CLI- typing
algorun goal node statuswill return your nodes status, typingalgorun goal node status -w 1000instead will keep giving you node status updates every 1 second
Note If you get receive one of the following errors:
command not found: algorun(bash/zsh)The term 'algorun' is not recognized as the name of a cmdlet, function, script file, or operable program.(PowerShell)Then ensure that
algorunis available on the PATH by runningpipx ensurepathand restarting the terminal.
If you're experiencing issues with algorun raise an issue.