---
title: "update"
description: "Update the PgBeam CLI to the latest version"
canonical: "https://pgbeam.com/docs/cli/update"
last-updated: "2026-09-14T19:37:21.000Z"
---

# update

> Update the PgBeam CLI to the latest version

URL: https://pgbeam.com/docs/cli/update

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

## Options

Option

Description

Required

Default

`--yes`, `-y`

Skip the confirmation prompt before updating

No

`false`

`--channel <value>`

Update channel to use: latest (stable releases) or dev (PR preview builds)

No

`latest`

`--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

-

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

## Examples

## 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.