- Notifications
You must be signed in to change notification settings - Fork6.1k
How to install Github Copilot on code-server?#5063
-
BetaWas this translation helpful?Give feedback.
All reactions
Firstly, update your code-server instance and then retry. I seem to have noticed that you use Code 1.50.0, not the latest 1.64.*, hence run the install command again and launch code-server.
Replies: 11 comments 35 replies
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Firstly, update your code-server instance and then retry. I seem to have noticed that you use Code 1.50.0, not the latest 1.64.*, hence run the install command again and launch code-server. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
Can you share a screenshot or video of the same and which guide you followed? |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
I tried install a older version of the VSIX file and it worked! thanks anyways! |
BetaWas this translation helpful?Give feedback.
All reactions
🎉 2
-
BetaWas this translation helpful?Give feedback.
All reactions
-
BetaWas this translation helpful?Give feedback.
All reactions
-
We're working on a VS Code upgrade soon! |
BetaWas this translation helpful?Give feedback.
All reactions
👍 2
-
Any updates on how to install copilot on code server 4.7.0? |
BetaWas this translation helpful?Give feedback.
All reactions
-
Download the vsix file from the marketplace.visualstudio.com and install it on the command palette (Ctrl+Shift+P, "vsix", Enter) |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1❤️ 5
-
I get this error for some reason "Command 'Extensions: Install from VSIX...' resulted in an error" |
BetaWas this translation helpful?Give feedback.
All reactions
-
Same i got the same error- Command 'Extensions: Install from VSIX...' resulted in an error extension/package.json not found inside zip. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 3
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
works if you download the visx from their marketplace:marketplace.visualstudio.com |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
And I need to decompress the vsix file before install, see here:https://stackoverflow.com/questions/66134532/vscode-marketplace-extension-corrupt-zip-end-of-central-directory-record-signa |
BetaWas this translation helpful?Give feedback.
All reactions
-
I found this video on YouTube that worked for me:https://www.youtube.com/watch?v=w_-zFFM0N-g. It may help you install Github Copilot on code-server as well. |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
August 2023I just ran into this problem (Copilot doesn't show up when you search for it in extensions), so here's what worked for me:
Note that before doing the above steps I upgraded to the latest version of |
BetaWas this translation helpful?Give feedback.
All reactions
👍 2❤️ 5
-
@josephrocca If I shut down and restart my SageMaker server credentials are not retained, In the latest version even reloading the CodeServer webpage on Sagemaker(F5 Key) loses the git credentials, downgrade helped with the reload issue but not the restart issue. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Indeed, while GitHub connections are disconnected upon reboot, Copilot can be used without logging into GitHub each time. The chat feature is not as usable as it is in Codespaces. |
BetaWas this translation helpful?Give feedback.
All reactions
-
#5052 should have been fixed in v4.17.1 (see#5072) but if anyone is still seeing issues please do open an issue with steps to reproduce. |
BetaWas this translation helpful?Give feedback.
All reactions
-
confirming it worked for me with 4.20.1 with Code 1.85.2 |
BetaWas this translation helpful?Give feedback.
All reactions
-
I tried the above approach, when I try to sign in into the GitHub copilot. I get this pop up ofYou have not yet finished authorizing this extension to use GitHub. Would you like to try a different way? (personal access token) Source: GitHub Authentication when i click on yes. it asks to create a personal acess token when I get give the personal token, I am getting this below error in the output window. auth: Error: No auth flow succeeded. I am using the latest github copilot and vs-codeserver (v4.93.1) vs code (1.93.1) is there any workaround for this issue? |
BetaWas this translation helpful?Give feedback.
All reactions
-
I downloaded the vsix chat extension, unzipped it and modified the
rezipped it and did a manual vsix installed, and it now works on latest code server. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 2
-
I installed GitHub Copilot (the latest version v1.168.742) with code-server v4.21.2 (Code 1.86.2). I wasn't able to get GitHub Copilot Chat working. Not even trying to use@hchaudhary1 method above, changing the json file to have:
And after a successful install, this happened: |
BetaWas this translation helpful?Give feedback.
All reactions
-
Hello everyone, I wanted to offer another solution I just ran across, because I had a similar issue. I am running code-server 4.22.1 inside Docker (code-server: v4.22.1, Code: 1.87.2, Commit:760d131). I downloaded the extension fromhere, and installed inside code-server (uploaded, right-click to install), but the authentication is always failing. My solution was to start the sign-in process. After it gives you the 8-character code, copy it somewhere. Then when it prompts you to go to the URL to activate,do not click Open but instead Copy the URL (it should behttps://github.com/login/device anyway). Then open a new tab yourself, paste the 8-character code, Authorize it, then close the tab. And then it should successfully log in :) |
BetaWas this translation helpful?Give feedback.
All reactions
-
If you want to automate the extension installation, you can usehttps://marketplace.visualstudio.com/_apis/public/gallery/publishers/GitHub/vsextensions/copilot/<version_id>/vspackage 1.206.0 was the version I found at time of writing. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
If you are running in the Linuxserver code-server container, add this to your environment |
BetaWas this translation helpful?Give feedback.
All reactions
👍 8
-
https://coder.com/docs/code-server/FAQ#why-cant-code-server-use-microsofts-extension-marketplace your solution conflicts with this FAQ section I believe |
BetaWas this translation helpful?Give feedback.
All reactions
-
Hi everyone, auth: Error: No auth flow succeeded. I am using the latest github copilot and vs-codeserver (v4.93.1) vs code (1.93.1) is there any workaround for this issue? |
BetaWas this translation helpful?Give feedback.
All reactions
-
Grab latest copilot VSIX package automatically:
|
BetaWas this translation helpful?Give feedback.
All reactions
👎 1❤️ 6
-
Using code-server: v4.100.2 Installing |
BetaWas this translation helpful?Give feedback.
All reactions
🚀 2
-
i managed to install version 0.27.2025050603, how do i open the chat windows |
BetaWas this translation helpful?Give feedback.
All reactions
-
i found the hotkey to toggle the chat windows, but got hit with this |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Same here. used version 0.27.2025050603 and getting the above options. Is it because the version 0.27.2025050603 is not there in the versions listed inhere? @Kahdeg-15520487 , Please let me know if you find any solution for this |
BetaWas this translation helpful?Give feedback.
All reactions
-
Thanks for highlighting this@Kahdeg-15520487 . I think my chat panel somehow cached an old view which led me to believe it was working. I've updated my previous comment |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Hi@webleedev , I was able to install github-copilot-chat version 0.26.2025040204. However, it doesn’t seem to be interactive — I’m unable to chat with it, and there’s no response when I try. Is it working as expected for you on your end? |
BetaWas this translation helpful?Give feedback.