Skip to content

Commit 2bea930

Browse files
committed
Add section on updating Copilot CLI
1 parent 61d3752 commit 2bea930

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

content/copilot/how-tos/copilot-cli/set-up-copilot-cli/install-copilot-cli.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@ You can download the executables directly from [the `copilot-cli` repository](ht
111111

112112
Download the executable for your platform, unpack it, and run.
113113

114+
## Updating {% data variables.copilot.copilot_cli_short %}
115+
116+
Once {% data variables.copilot.copilot_cli_short %} is installed, you can update it to the latest version by running `/update` inside an active session, or `copilot update` from your shell. Either method updates your installation in place, so you don't need to rerun the original install command for your package manager.
117+
118+
For all available commands, see [AUTOTITLE](/copilot/reference/copilot-cli-reference/cli-command-reference).
119+
114120
## Authenticating with {% data variables.copilot.copilot_cli_short %}
115121

116122
On first launch, if you're not currently logged in to {% data variables.product.github %}, you'll be prompted to use the `/login` slash command. Enter this command and follow the on-screen instructions to authenticate. For more information on the authentication process, see [AUTOTITLE](/copilot/how-tos/copilot-cli/set-up-copilot-cli/authenticate-copilot-cli).

0 commit comments

Comments
 (0)