Install the Riptides CLI
The Riptides CLI (riptides-cli) is the primary tool for managing control plane resources. It provides the riptides-cli ctl command — a kubectl-compatible interface that handles authentication automatically — and riptides-cli context for managing multiple control plane connections.
Installation
Section titled “Installation”Install via Homebrew:
brew tap riptides-packages/homebrew-tapbrew trust riptides-packages/tapbrew install --cask riptides-cliPackages are available for amd64 and arm64. Replace <arch> with your architecture and <version> with the release you want (e.g. 0.5.16):
Debian / Ubuntu
Section titled “Debian / Ubuntu”curl -LO https://github.com/riptides-packages/daemon/releases/download/v<version>/riptides-cli_<version>_linux_<arch>.debsudo dpkg -i riptides-cli_<version>_linux_<arch>.debRHEL / Fedora / Amazon Linux
Section titled “RHEL / Fedora / Amazon Linux”curl -LO https://github.com/riptides-packages/daemon/releases/download/v<version>/riptides-cli_<version>_linux_<arch>.rpmsudo rpm -i riptides-cli_<version>_linux_<arch>.rpmTarball
Section titled “Tarball”curl -LO https://github.com/riptides-packages/daemon/releases/download/v<version>/riptides-cli_<version>_linux_<arch>.tar.gztar -xzf riptides-cli_<version>_linux_<arch>.tar.gzsudo mv riptides-cli /usr/local/bin/All releases are published at github.com/riptides-packages/daemon/releases.
Connect to a Control Plane
Section titled “Connect to a Control Plane”Add a context for your control plane. This opens a browser window to complete OIDC authentication and saves the session locally under ~/.riptides/contexts/.
riptides-cli context add --url https://<your-env-id>.console.riptides.ioOn the first run, a browser window opens to authenticate. After authenticating, the token is cached and reused on subsequent commands until it expires — at which point riptides-cli will prompt you to log in again.
Verify the connection:
riptides-cli ctl get daemonsManaging Contexts
Section titled “Managing Contexts”If you connect to multiple control planes, use contexts to switch between them.
| Command | Description |
|---|---|
riptides-cli context add [<name>] | Add a new context and authenticate |
riptides-cli context list | List all saved contexts |
riptides-cli context current | Show the active context |
riptides-cli context use <name> | Switch to a different context |
riptides-cli context status | Show auth status for the current context |
riptides-cli context login [<name>] | Re-authenticate an existing context |
riptides-cli context delete [<name>] | Remove a context |
To target a specific context for a single command without switching, use the --context flag:
riptides-cli --context staging ctl get daemonsUsing riptides-cli ctl
Section titled “Using riptides-cli ctl”riptides-cli ctl is a kubectl-compatible interface scoped to the Riptides control plane. It authenticates using your active context and defaults to the riptides-system namespace.
Supported subcommands: get, describe, delete, apply, patch, replace, diff, wait, edit, label, annotate, explain, api-resources, api-versions.
# List all connected daemonsriptides-cli ctl get daemons
# Inspect a WorkloadIdentityriptides-cli ctl describe workloadidentity my-workload
# Apply a resource manifestriptides-cli ctl apply -f my-resource.yaml
# Apply an inline manifestriptides-cli ctl apply -f - <<EOFapiVersion: core.riptides.io/v1alpha1kind: WorkloadIdentitymetadata: name: my-workload namespace: riptides-systemspec: workloadID: my-app/workload selectors: - process:name: my-app connection: tls: mode: PERMISSIVEEOFConnection flags (--kubeconfig, --cluster, --context, --namespace, --user, --token, --server) are not available — the CLI derives all connection details from the active Riptides context automatically.