For the complete documentation index, see llms.txt. This page is also available as Markdown.

Managing Apps

The Apolo CLI provides a powerful and efficient way to manage your applications directly from the terminal. You can explore, install, monitor, and uninstall applications using a set of simple commands.

Explore available apps

Before installing an application, you can explore the full catalog of available app templates.

To list all available application templates, run the following command:

apolo app-template ls

This command will fetch and display a table of all templates you can install, including their name, version, and description.

 Name               Title              Version   Description                                  Tags
 ------------------ ------------------ --------- -------------------------------------------- ----------------------------------
  dify               Dify               apolo     Run Dify an open-source, no-code/low-code... Dify, LLM, LLMOps, Rag, Agent
  dockerhub          DockerHub          v25.5.0   Access Images from your private DockerHub... DockerHub, MLOps, Container registry
  jupyter            Jupyter            v25.5.1   Web-based interactive development env...     Jupyter, Notebooks, EDA, ETL, ...
  ...

Install application

The most robust way to install applications via the CLI is by using a YAML configuration file. This allows you to define all installation parameters declaratively.

Create a YAML configuration file

The configuration file includes your application's template name, version, metadata and input parameters such as resource presets, storage mounts, and other app-specific inputs. There are several ways to create config file:

  1. Craft one by yourself using app documentation and inputs reference

  2. Get example using CLI command apolo app-template get <application-name>

Example vscode.yaml:

  1. Build the configuration using Apolo web console and then save it to the application configuration file. You can do it with this button (after specifying all needed parameters):

Extract PrivateGPT app configuration file

Run the install command

Use Apolo CLI point it to your YAML file using the --file flag and trigger installation

Upon execution, the CLI will confirm the installation:

Manage installed apps

Once an app is installed, you can list, monitor, and manage it. To see all applications currently installed in your project, run:

This command displays a list of your app instances, their unique ID, and their current State (e.g., progressing, healthy, errored).

When a newer version of the app's template is available, the Version column shows it next to the installed one:

See Upgrade app for how to move the app to that version.

View app logs

To view the logs for a running application, use the logs command with the application's ID (which you can get from apolo app ls).

The CLI will stream the application's logs directly to your terminal.

Configure app

In order to reconfigure the application providing new inputs, update the previously mentioned configuration file and trigger update pointing Apolo CLI to the application instance you are re-configuring:

Reconfiguring keeps the app on the template version it was installed with, even if template_version in the file is different. In that case the CLI tells you which version the app stays on.

For more detailed description of application updates, refer to the web console application management pages.

Upgrade app

Upgrading requires Apolo CLI 26.9.0 or newer. Check your version with apolo --version.

To move an installed app to a newer version of its template, set the target version in the configuration file and pass the --upgrade flag to the configure command.

  1. Find the version to upgrade to. apolo app ls shows the newest one in the Version column, and the following command lists all versions of a template:

  2. Set template_version in the app's configuration file to that version, or to latest:

  3. Run configure with the --upgrade flag:

    The CLI confirms the version the app is on now:

The inputs from the file are applied together with the upgrade and are validated against the new version, so check the inputs of the target version with apolo app-template get postgres -V v26.8.0 if it changed them.

An app can only be moved to a newer version of the same template. Moving to an older version is refused.

Uninstall an app

To remove an application instance, use the uninstall command with the application's ID.

Use installed app

For applications with a web interface (like VS Code, Jupyter, or a deployed model), you need to retrieve their public URL.

  1. Use the get-values command with the application's ID:

  2. This command returns a table of output values for the app, including API endpoints. Look for the path external_web_app_url.

  3. Copy the host URL from the external_web_app_url value and open it in your browser to access the application's interface.

References

Last updated

Was this helpful?