Section: Aliases, Extensions, and Completion

Create an alias

bash
bash
gh alias set pv "pr view"
Explanation

Create a simple alias.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Aliases, Extensions, and Completion
List aliases
List configured aliases.
OpenIn sheetbashsame section
Create a shell alias
Create a shell-powered alias.
OpenIn sheetbashsame section
Delete an alias
Delete a configured alias.
OpenIn sheetbashsame section
Import aliases from YAML
Import aliases from a YAML file.
OpenIn sheetbashsame section
List installed extensions
List installed gh extensions.
OpenIn sheetbashsame section
Install an extension
Install a GitHub CLI extension from a repo.
OpenIn sheetbashsame section