From 2bea930d6d7fead7e87777c331b0198c0075a1c6 Mon Sep 17 00:00:00 2001 From: kaviraj <45905404+kaviraj07@users.noreply.github.com> Date: Tue, 26 May 2026 13:39:54 +0100 Subject: [PATCH 1/2] Add section on updating Copilot CLI --- .../copilot-cli/set-up-copilot-cli/install-copilot-cli.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/copilot/how-tos/copilot-cli/set-up-copilot-cli/install-copilot-cli.md b/content/copilot/how-tos/copilot-cli/set-up-copilot-cli/install-copilot-cli.md index 551552b72688..52bc80b73827 100644 --- a/content/copilot/how-tos/copilot-cli/set-up-copilot-cli/install-copilot-cli.md +++ b/content/copilot/how-tos/copilot-cli/set-up-copilot-cli/install-copilot-cli.md @@ -111,6 +111,12 @@ You can download the executables directly from [the `copilot-cli` repository](ht Download the executable for your platform, unpack it, and run. +## Updating {% data variables.copilot.copilot_cli_short %} + +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. + +For all available commands, see [AUTOTITLE](/copilot/reference/copilot-cli-reference/cli-command-reference). + ## Authenticating with {% data variables.copilot.copilot_cli_short %} 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). From 562f430664c0f2ca0952fe2200dd32961a5123a5 Mon Sep 17 00:00:00 2001 From: kaviraj <45905404+kaviraj07@users.noreply.github.com> Date: Wed, 10 Jun 2026 22:44:20 +0100 Subject: [PATCH 2/2] Move update command reference to Next steps --- .../copilot-cli/set-up-copilot-cli/install-copilot-cli.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/content/copilot/how-tos/copilot-cli/set-up-copilot-cli/install-copilot-cli.md b/content/copilot/how-tos/copilot-cli/set-up-copilot-cli/install-copilot-cli.md index 52bc80b73827..ea650ef39933 100644 --- a/content/copilot/how-tos/copilot-cli/set-up-copilot-cli/install-copilot-cli.md +++ b/content/copilot/how-tos/copilot-cli/set-up-copilot-cli/install-copilot-cli.md @@ -111,12 +111,6 @@ You can download the executables directly from [the `copilot-cli` repository](ht Download the executable for your platform, unpack it, and run. -## Updating {% data variables.copilot.copilot_cli_short %} - -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. - -For all available commands, see [AUTOTITLE](/copilot/reference/copilot-cli-reference/cli-command-reference). - ## Authenticating with {% data variables.copilot.copilot_cli_short %} 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). @@ -130,3 +124,5 @@ You can also authenticate using a {% data variables.product.pat_v2 %} with the " ## Next steps You can now use {% data variables.product.prodname_copilot_short %} from the command line. See [AUTOTITLE](/copilot/how-tos/use-copilot-agents/use-copilot-cli). + +For a list of commands for {% data variables.copilot.copilot_cli_short %}, including the command to update, see [AUTOTITLE](/copilot/reference/copilot-cli-reference/cli-command-reference).