Skip to content

The Diploi CLI

Diploi’s development environments come with a CLI, from which you can access the logs of any component or add-on in your deployment, execute commands inside of a running container, and view the current status of a deployment.

CLI logs

How to use

You can access the CLI by opening a terminal from any development environment in Diploi. To view if the CLI is installed in your environment, you can try running the command diploi, and it should show the following output:

CLI running correctly

CLI commands

CommandDescriptionExampleAvailability
diploiShows a brief introduction about what you can do with the CLI and lists the commands availablediploiAll users
diploi help [command]Shows the help article for a commanddiploi help execAll users
diploi logs [component or add-on] or diploi log [component or add-on]Streams logs from a running componentdiploi logs nextAll users
diploi statusShows the current status of the deployment from which the command is being rundiploi statusTesters only
diploi exec [component or add-on] "command"Executes a command inside of a component or add-ondiploi exec next "echo 'test'"Testers only