Command line tools
Our command-line tool is here to make managing your Plane instance simple. You can handle installs, upgrades, and general management without needing to be a Docker expert.
Prime CLI • Commercial Edition
If you are on the Community edition and want to upgrade to the Commercial edition, see Upgrade to Commercial Edition.
The Prime CLI provides commands for common tasks like configuring services, monitoring health, managing backups, and upgrading your Plane instance.
Bring up the Prime CLI with sudo prime-cli
from any directory on your machine.
-
The three operators you will use the most are:
-
start
You will use this to start a service in the Docker network with the name of the service.
-
stop
You will use this to stop a service in the Docker network with the name of the service.
-
restart
You will use this to restart a service in the Docker network with the name of the service as a
{param or flag}
.
-
-
Often, you will want to monitor the health of your instance and see if some services are up or down. Use
monitor
to do that. -
healthcheck
is another useful utility that lets you see the status and errors, if any, of all running services -
repair
fixes your Plane install for common errors automatically. -
update-cli
downloads and installs the latest version of Prime CLI.It is highly recommend to run this first before you download any Plane updates. The latest version of the CLI ensures your Plane upgrades happen smoothly.
For more advanced admins that want greater control over their instance, the list of additional commands available on Prime CLI follow.
-
configure
Brings up a step form to let you specify the following.
-
upgrade
checks your instance for available version upgrades and asks you for a confirmation before downloading the latest available version.
- Typing
YES
lets the CLI automatically download’s the latest version and installs it. Then it restarts the instance to load the latest app. - Typing
NO
cancels the upgrade.
- Typing
-
uninstall
uninstalls Plane. Before it goes through, it asks you for a confirmation.
- Typing
YES
lets the CLI clean up the/opt/plane
folder, leaving behind the/opt/plane/data
and/opt/plane/logs
folders. - Typing
NO
cancels the uninstall.
- Typing