PgBeam Docs

update

Update the PgBeam CLI to the latest version

Check for and install CLI updates. By default, checks the latest stable release and prompts before updating. Use --channel dev with --version to install development builds (e.g. PR preview builds). The binary is downloaded from S3 and replaces the current installation in-place.

Usage

pgbeam update [flags]

Options

OptionDescriptionRequiredDefault
--yes, -ySkip the confirmation prompt before updatingNofalse
--channel <value>Update channel to use: latest (stable releases) or dev (PR preview builds)Nolatest
--version <value>Specific version to install. Required for the dev channel (e.g. pr-434). Optional for latest channel (e.g. 1.2.3).No-

Global options

All global options (--token, --profile, --project, --org, --json, --no-color, --debug) are also available on this command.

Examples

# Check for updates and install if available
pgbeam update

# Update without confirmation prompt
pgbeam update --yes

# Install a specific version
pgbeam update --version 1.2.3

# Install a dev build from a PR
pgbeam update --channel dev --version pr-434

Output

Shows the current and target version. If already on the latest version, prints a success message. Otherwise, prompts for confirmation (unless --yes), downloads the new binary, and confirms the installation.

On this page