GH-PREVIEW(1) GitHub CLI manual GH-PREVIEW(1)

# [NAME](#NAME)

gh-preview - Execute previews for gh features

# [SYNOPSIS](#SYNOPSIS)

**gh preview &lt;command&gt; \[flags]**

# [DESCRIPTION](#DESCRIPTION)

Preview commands are for testing, demonstrative, and development purposes only. They should be considered unstable and can change at any time.

# [AVAILABLE COMMANDS](#AVAILABLE_COMMANDS)

[**gh-preview-prompter(1)**](#gh_preview_prompter%281%29)

Execute a test program to preview the prompter

# [EXIT CODES](#EXIT_CODES)

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

# [SEE ALSO](#SEE_ALSO)

[**gh(1)**](/man/os/gh/gh.1)

Oct 2026

---

Document: gh-preview(1) from gh 2.103.3-r0 (Chainguard OS)
Source: https://github.com/cli/cli
