Install Supra CLI with Docker
Installation of the Supra CLI using Docker.
Prerequisites
Install and Setup the CLI
Create a Workspace Directory
Execute the following command with your desired path to create a new directory named /supra_configs/move_workspace
which will be used as your main workspace for the CLI.
Generated key profiles, initialized packages, and more can be found within the /supra_configs
folder while the move_workspace
sub-directory will serve as the primary location for all of your Move packages.
Execute the Docker Run Command
The supra_configs
directory will be bind mounted to the Docker container and accessible by the CLI/from within the container.
Replace <YOUR_PATH>
in the following command with the path of your supra_configs
folder. This command will pull the image and start the container.
You can view running containers with the command: docker ps
You can stop the running container with the command: docker stop supra_cli
Set Aliasing for the Supra CLI
As the CLI exists within the Docker container, we must execute our commands within the container. To make this easier, we can create an alias.
By setting an alias, you will be able to access the CLI from your device's native terminal without having to manually enter the container's shell.
Last updated