AlgoKit Completions
AlgoKit supports shell completions for zsh and bash shells, e.g.
bash
1$ algokit <Press Tab>2bootstrap completions config doctor explore goal init sandbox
zsh
1$ ~ algokit <Press Tab>2bootstrap -- Bootstrap AlgoKit project dependencies.3completions -- Install and Uninstall AlgoKit shell integration.4config -- Configure AlgoKit options.5doctor -- Run the Algorand doctor CLI.6explore -- Explore the specified network in the...7goal -- Run the Algorand goal CLI against the AlgoKit Sandbox.8init -- Initializes a new project.9sandbox -- Manage the AlgoKit sandbox.
Installing
To setup the completions, AlgoKit provides commands that will modify the current users interactive shell script (.bashrc
/.zshrc
).
Note If you would prefer AlgoKit to not modify your interactive shell scripts you can install the completions yourself by following the instructions here.
To install completions for the current shell execute algokit completions install
. You should see output similar to below:
1$ ~ algokit completions install2AlgoKit completions installed for zsh π3Restart shell or run `. ~/.zshrc` to enable completions
After installing the completions donβt forget to restart the shell to begin using them!
Uninstalling
To uninstall completions for the current shell run algokit completions uninstall
:
1$ ~ algokit completions uninstall2AlgoKit completions uninstalled for zsh π
Shell Option
To install/uninstall the completions for a specific shell the --shell
option can be used e.g. algokit completions install --shell bash
.
To learn more about the algokit completions
command, please refer to completions in the AlgoKit CLI reference documentation.