PaaS2
← Documentation

CLI reference

Core CLI commands for deploy, scale, and logs.

Install

# example
curl -fsSL https://get.paas2.ir | sh

Common commands

CommandPurpose
paas2 apps listList applications
paas2 apps create <name>Create an application
paas2 apps scale <name> --replicas NScale replicas
paas2 apps logs <name>Tail logs
paas2 apps secrets set KEY=VALUESet a secret

Authentication

paas2 auth login

The CLI uses OIDC/PKCE with Keycloak and stores the token securely.