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 Docker
The Prime CLI provides commands for common tasks like configuring services, monitoring health, managing backups, and upgrading your Plane instance.
WARNING
Prime CLI is for Docker installations only. These commands only work on Plane instances originally installed using prime-cli.
Bring up the Prime CLI with sudo prime-cli from any directory on your machine.
The three operators you will use the most are:
startStarts every Plane service. It takes no arguments.stopStops every Plane service. It takes no arguments.restartStops and starts every Plane service. It takes no arguments.
None of the three targets an individual service. If you need to restart one container, use Docker directly.
Often, you will want to monitor the health of your instance and see if some services are up or down. Use
monitorto do that.healthcheckis another useful utility that lets you see the status and errors, if any, of all running servicesrepairautomatically diagnoses and fixes common errors in your Plane instance. It rebuildsplane.envfrom the current template. Your values are kept for keys the template knows, the domain and URL settings are recomputed, and keys the template does not know are dropped, so back upplane.envfirst. One of its stages, Resetting License Cache, clears the license state your instance has cached on disk. That makesrepairthe fix when the app and the Prime portal disagree about your plan after a Sync plan. Afterwards, click Sync plan on each licensed workspace, and activate the key again if a workspace stays on Free. Enterprise Grid needs the key activated again from God mode. Your Plane data is not touched.update-clidownloads and installs the latest version of Prime CLI.TIP
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.
configureBrings up a step form to let you specify the following.
Steps to configure your instance
Listening port
Specify the port that the built-in reverse proxy will useDefault value:
80Max file-upload size
Specify a size in MBs for how big each file uploaded to your Plane app can beDefault value:
5 MBExternal Postgres URLSpecify the URL of your own hosted Postgres if you would like to change the database your Plane app uses.
Default database: Postgres 15.5 in the Docker container
External Redis URLSpecify the URL of your own hosted REdis if you would like to change the default Redis Plane ships with.
Default Redis: Redis 7.2.4
External storageSpecify your AWS S3 bucket's credentials in the format below to change storage from the default Plane ships with.- AWS Access Key ID
- AWS Secret Access Key
- AWS S3 Bucket Name
Default storage: MinIO
- Confirm your choices on the screen ↓. This restarts your instance with the new configs.
upgrade
checks your instance for available version upgrades and asks you for a confirmation before downloading the latest available version.
- Select Yes with the arrow keys and press Enter. The CLI downloads and installs the latest version, then restarts the instance to load it.
- Select No to cancel the upgrade.
uninstall
uninstalls Plane. Before it goes through, it asks you for a confirmation.
- Select Yes with the arrow keys and press Enter. The CLI cleans up the
/opt/planefolder, leaving behind the/opt/plane/dataand/opt/plane/logsfolders. - Select No to cancel the uninstall.
Setup.sh script • Community Edition
The setup script setup.sh provides a menu-driven interface to help you install and manage your Plane instance.
Usage
To run the setup.sh script, use the following command in your terminal from the directory where the script is located:
./setup.shThis will launch an interactive menu with options to manage various aspects of your Plane instance.
Select a Action you want to perform:
1) Install
2) Start
3) Stop
4) Restart
5) Upgrade
6) View Logs
7) Backup Data
8) ExitActions
Install
Installs the Plane Community Edition on your machine. Choose this option if you are setting up Plane for the first time.Start
Starts the Plane server and all related services.Stop
Stops the Plane server and all services currently running on the machine.Restart
Restarts the Plane server and all associated services.Upgrade Upgrades Plane to the latest available version. This will stop all services, update the necessary files, and then restart Plane with the latest configuration. See Update Plane for more info.
WARNING
It's recommended to create a backup before upgrading your instance. See Backup and restore.
View Logs Displays real-time logs of specific Plane services. See View logs for more info.
TIP
Use View Logs to monitor service performance or troubleshoot issues. Press
CTRL+Cto exit the log view and return to the main menu.Backup Data Creates a backup of your current Plane installation, including all data. See Backup and restore data for more info.
Exit
Closes the setup script and returns you to the command line.

