[GUIDE] 2026 How to run Copilot in VSCodium (without VSCode) #1487
Replies: 105 comments 240 replies
|
Why do we have to use that specific client_id? I found it a big sketchy, but it did work! |
|
I needed to use Git Bash on Windows for |
|
Works like a charm on Powershell v7 without any hassle. Thank you! |
|
Heck yeah! Thanks for that dude 🔥 |
Flatpak usersStill working for me as of 2024-08-01I installed VSCodium on
Thanks, @ustas-eth ! |
|
I'm having trouble activating Github Copilot Labs with this trick. Can it be done? Thanks in advance. |
|
How do we find out where |
|
This worked on my Linux laptop, much love. I was just wondering why on the Windows Binary for VSCodium the "official" login for GitHub Copilot works on my end? Is there some f*ckery because it is a Windows machine and Windows authenticates me anyway like that? |
|
as of Jun 22 this still works thank you so much |
|
This is just amazing. Thanks a lot. The only issue I have right now is that I have to keep logging in to GitHub on VSCodium each time I open it. Any way to fix this problem? |
|
Umm, Where should i paste my access token ? (Step 7) |
|
On Manjaro Linux (so should work for Arch as well) I found $ sudo pacman -Ql vscodium | grep product.json
vscodium-bin /opt/vscodium-bin/resources/app/product.json |
|
Works on Linux Mint, using VSCodium installed from the Ubuntu repository. Thanks @ustas-eth ! SnapIn case anyone installed VSCodium using Snap, you'll need to use a workaround like described here, to edit Rather than doing that I just reinstalled from the VSCodium Ubuntu repository instead. Possible edits to original post@ustas-eth perhaps to clarify step 6 a bit further, As below:
|
|
If you already installed copilot and want to use this wonderful trick, you will first have to sign out from Github using the Sign out option on the bottom left corner (the person button below the setting button). |
|
Hi, I have run the following: flatpak --user install -y flathub com.vscodium.codium
flatpak --user override --socket=wayland com.vscodium.codium
flatpak run com.vscodium.codium --install-extension ~/Downloads/GitHub.copilot-1.95.246.vsix
cd ~/.local/share/flatpak/app/com.vscodium.codium/current/active/files/share/codium/resources/app
sed -e 's|"GitHub.copilot":.*|"GitHub.copilot": ["inlineCompletions","inlineCompletionsNew","inlineCompletionsAdditions","textDocumentNotebook","interactive","terminalDataWriteEvent"],|' \
-i.bak product.jsonI had to copy the following libraries in order for the "Sign in with Github to use Github Copilot" to appear:
in If I click on "Sign in with Github to use Github Copilot", I can generate the PAT, copy it to but I get the following error in the Developer console: workbench.desktop.main.js:97 [Extension Host] [ERROR] [default] [2023-07-09T14:39:57.595Z] GitHub Copilot could not connect to server. Extension activation failed: "Cancelled"
I @ workbench.desktop.main.js:97
$logExtensionHostMessage @ workbench.desktop.main.js:1541
_doInvokeHandler @ workbench.desktop.main.js:1541
_invokeHandler @ workbench.desktop.main.js:1541
_receiveRequest @ workbench.desktop.main.js:1541
_receiveOneMessage @ workbench.desktop.main.js:1541
(anonymous) @ workbench.desktop.main.js:1541
invoke @ workbench.desktop.main.js:93
deliver @ workbench.desktop.main.js:93
fire @ workbench.desktop.main.js:93
fire @ workbench.desktop.main.js:564
ee.onmessage @ workbench.desktop.main.js:1642
workbench.desktop.main.js:759 Writing login information to the keychain failed with error 'GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable'.
onDidChangeNotification @ workbench.desktop.main.js:759
(anonymous) @ workbench.desktop.main.js:759
invoke @ workbench.desktop.main.js:93
deliver @ workbench.desktop.main.js:93
fire @ workbench.desktop.main.js:93
addNotification @ workbench.desktop.main.js:759
notify @ workbench.desktop.main.js:1644
prompt @ workbench.desktop.main.js:1644
(anonymous) @ workbench.desktop.main.js:2526
emit @ VM4 sandbox_bundle:2
onMessage @ VM4 sandbox_bundle:2
workbench.desktop.main.js:97 [Extension Host] rejected promise not handled within 1 second: Error: User not authorized
I @ workbench.desktop.main.js:97
$logExtensionHostMessage @ workbench.desktop.main.js:1541
_doInvokeHandler @ workbench.desktop.main.js:1541
_invokeHandler @ workbench.desktop.main.js:1541
_receiveRequest @ workbench.desktop.main.js:1541
_receiveOneMessage @ workbench.desktop.main.js:1541
(anonymous) @ workbench.desktop.main.js:1541
invoke @ workbench.desktop.main.js:93
deliver @ workbench.desktop.main.js:93
fire @ workbench.desktop.main.js:93
fire @ workbench.desktop.main.js:564
ee.onmessage @ workbench.desktop.main.js:1642
workbench.desktop.main.js:97 [Extension Host] stack trace: Error: User not authorized
at /home/user/.var/app/com.vscodium.codium/data/codium/extensions/github.copilot-1.95.246/extension/src/auth.ts:52:15
at process.copilotToken (node:internal/process/task_queues:96:5)
at forceNormal [as getCopilotToken] (/home/user/.var/app/com.vscodium.codium/data/codium/extensions/github.copilot-1.95.246/extension/src/auth.ts:92:18)
at event (/home/user/.var/app/com.vscodium.codium/data/codium/extensions/github.copilot-1.95.246/extension/src/session.ts:53:28)
at /home/user/.var/app/com.vscodium.codium/data/codium/extensions/github.copilot-1.95.246/extension/src/extension.ts:162:46
I @ workbench.desktop.main.js:97
$logExtensionHostMessage @ workbench.desktop.main.js:1541
_doInvokeHandler @ workbench.desktop.main.js:1541
_invokeHandler @ workbench.desktop.main.js:1541
_receiveRequest @ workbench.desktop.main.js:1541
_receiveOneMessage @ workbench.desktop.main.js:1541
(anonymous) @ workbench.desktop.main.js:1541
invoke @ workbench.desktop.main.js:93
deliver @ workbench.desktop.main.js:93
fire @ workbench.desktop.main.js:93
fire @ workbench.desktop.main.js:564
ee.onmessage @ workbench.desktop.main.js:1642
workbench.desktop.main.js:1978 [GitHub.copilot]User not authorized
$onExtensionRuntimeError @ workbench.desktop.main.js:1978
_doInvokeHandler @ workbench.desktop.main.js:1541
_invokeHandler @ workbench.desktop.main.js:1541
_receiveRequest @ workbench.desktop.main.js:1541
_receiveOneMessage @ workbench.desktop.main.js:1541
(anonymous) @ workbench.desktop.main.js:1541
invoke @ workbench.desktop.main.js:93
deliver @ workbench.desktop.main.js:93
fire @ workbench.desktop.main.js:93
fire @ workbench.desktop.main.js:564
ee.onmessage @ workbench.desktop.main.js:1642
workbench.desktop.main.js:1978 Error: User not authorized
at /home/user/.var/app/com.vscodium.codium/data/codium/extensions/github.copilot-1.95.246/extension/src/auth.ts:52:15
at process.copilotToken (node:internal/process/task_queues:96:5)
at forceNormal [as getCopilotToken] (/home/user/.var/app/com.vscodium.codium/data/codium/extensions/github.copilot-1.95.246/extension/src/auth.ts:92:18)
at event (/home/user/.var/app/com.vscodium.codium/data/codium/extensions/github.copilot-1.95.246/extension/src/session.ts:53:28)
at /home/user/.var/app/com.vscodium.codium/data/codium/extensions/github.copilot-1.95.246/extension/src/extension.ts:162:46
$onExtensionRuntimeError @ workbench.desktop.main.js:1978
_doInvokeHandler @ workbench.desktop.main.js:1541
_invokeHandler @ workbench.desktop.main.js:1541
_receiveRequest @ workbench.desktop.main.js:1541
_receiveOneMessage @ workbench.desktop.main.js:1541
(anonymous) @ workbench.desktop.main.js:1541
invoke @ workbench.desktop.main.js:93
deliver @ workbench.desktop.main.js:93
fire @ workbench.desktop.main.js:93
fire @ workbench.desktop.main.js:564
ee.onmessage @ workbench.desktop.main.js:1642Is an older version required? Thanks |
|
tl;dr: Latest VSCodium + latest copilot-chat (non-pre) release may work always together? Maybe I was just lucky, but I simply chose the latest official release and not a pre-release (0.39 are only pre-releases) and that worked for me. The latest official release is https://github.com/microsoft/vscode-copilot-chat/releases/tag/v0.38.2. VSIX download: https://marketplace.visualstudio.com/_apis/public/gallery/publishers/GitHub/vsextensions/copilot-chat/0.38.2/vspackage And it worked to install the VSIX with the latest version of VSCodium (1.110.11607). After the successful installation of the extension I signed out of all my GH accounts by clicking on the "person" icon in the bottom left corner of VSCodium. Then I restarted VSCodum, signed in again through the copilot icon in the bottom right corner. After that it tells me that it failed to find the copilot-chat extension and install it, I clicked twice on "cancel" and now everything works fine. |
|
Finally now vsix is oficially release on their github repo :D Also latest ver is working on insider :b |
|
Hi @ustas-eth, |
|
Do I have to sign into Github in order to use copilot? I just want to use my own local model and not rely on any external models. |
|
I used the strategy from here #1487 (reply in thread). This worked well for 1.112, but failed for the new Codium release 1.116. I didn´t find the correct matching VSIX. I then found out that you can enable Codium to find extensions from VSCode Marketplace, which simply let me install the correct CoPilotChat version via the UI: tldrIn Linux, create {
"extensionsGallery": {
"serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
"cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",
"itemUrl": "https://marketplace.visualstudio.com/items"
}
}this allows using the VSCode Marketplace
|
|
How to disable Github auth? I enable own models via vscode extenstions, i don't need Github Copilot models |
|
I tried to remove Github auth from latest version of vscode-copilot-chat archived |
|
Sorry if I missed something obvious, the whole topic is a bit confusing for me. In the last days I was using vscodium 1.116 with copilot 42.3 manual installed as described here, worked fine all good. Today I updated to 121 and its broken. Microsoft ships vscode now with the copilot plugin preinstalled and as such stopped the release of the standalone plugin, thus there is no compatible copilot version available for 121 and thus the problem. That's how I understood it. Is there a solution for that? Also since the 01.06.2026 pricing change maybe it is time to cancel GitHub copilot altogether and find a bring-your-own-key alternative, since the cost is the same anyways. Is there an alternative with ghost-text that can use or recycle the GitHub infrastructure (skills/agents/promts/instructions)? |
|
I just played around a bit and I was able to build the copilot extension from vscode repo and install it into vscodium and it seems to work. For those who want to do that as well: The VSCodium version number maps directly to the VS Code git tag — just drop the last segment (1.121.03429 → tag 1.121.0). 1. Clone the VS Code repo at the exact tag2. Install dependencies (requires Node >= 22.14.0)3. Build4. Package as VSIX (uses vsce from the project's node_modules)5. Install into VSCodiumFor future VSCodium updates, replace 1.121.0 in the clone command with the matching tag (e.g. VSCodium 1.99.02345 → tag 1.99.0). You can list available tags first if unsure: |
|
VSCodium: Github Copilot extension installed from: https://github.com/TiMESPLiNTER/vscodium-copilot-vsix-releases/releases/download/v1.121.0/copilot-chat-0.49.0.vsix What is wrong and how to fix it? |
|
Thanks for keeping this guide updated — the manual VSIX install path is much cleaner than the old product.json edits. One thing to add for anyone doing this because they want to escape the VSCode/Copilot bundle: Copilot’s usage-based billing still applies inside VSCodium. You get the open editor, but the meter follows the extension. If the goal is a fixed monthly cost for an agentic workflow, you may want to pair VSCodium with a BYOK extension (Continue.dev, Cline, Roo Code) or a flat-rate GPU-backed agent. We built UltraWork (https://vibecodingagency.com/gpu-cloud/) for the flat-rate case — one monthly GPU rental, no per-request meter, open-weights models. Not a replacement for this guide, but a useful next step if cost predictability is why you left VSCode. |
|
@TiMESPLiNTER , after a small investigation for error: (I'm not sure if I put full output for them) Regards and thanks for you job and answer, what do you think about that. |
Bringing ai into coding community kinda produces stuff like this icl the only current issue with the whole ecosystem of vscodium are slow updates, therefore copilot chat extensions fixes will land too late, a great example is the quoted message for example in 124 we've got but, in https://github.com/dealenx/vscode-copilot-chat-oss we see much more going on and to me, all that seems irrelevant at least since april/march even maybe, its all been inside insiders (i tested and it worked, long time ago) i started checking what can be causing issues and found that i don't even need patches or anything anymore (same as in insiders back in april or march or maybe even earlier) removing that and recompiling brought me into this state:
checked code again, and it was the same patched function from @dealenx, so i temporarily put return true on top and checked again, this time it worked
therefore its simply a bug, i had to log out of old github accounts in order to reset its "hasGithubSessions" (they do not check whether you're logged out or not, they only check whether you even have any github accounts logged possibly or not and if you do skipping that condition) then we come to the next very funny step,
while going thru the chain you're going end up with this function
and this one as well
since i already had a copy of vscode itself with custom endpoint it took me less time to realize what to do, in insiders back in days they separated language models and allowed people to add custom ones via a new interface, and, matter fact, added a new command, that seems to bypass any restrictions
and once you add any model that's not copilot chat will start working
steps are simple, ask the maintainer of vscodium update the codebase finally once its done and #2944 (comment) is merged there should be no need for additional patches even |
|
worth checking out this issue as well in case if you need BYOK/Complete lack of github authorization for autcomplete/inline suggestions feature as well microsoft/vscode#318545 (comment) (read comments below this one) |
































Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
New!
VSIX were finally released in the official repo, download them and install manually in the tab, it seems there may only be issues with the latest version due to a lag in VSCodium updates so you may need to install some of the older ones.
https://github.com/microsoft/vscode-copilot-chat/releases
See these comments and give merit to the good people who keep the guide updated:
#1487 (comment)
#1487 (comment)
Old!
the prev shaman way
The instruction
a) you can try to download the vsix files here: Copilot and Copilot Chat
b) or, if not available, by the direct links:
Copilot:
https://marketplace.visualstudio.com/_apis/public/gallery/publishers/GitHub/vsextensions/copilot/1.257.1316/vspackage
Copilot Chat:
https://marketplace.visualstudio.com/_apis/public/gallery/publishers/GitHub/vsextensions/copilot-chat/0.23.2024120501/vspackage
These links can be outdated, check the marketplace and replace
1.257.1316and0.23.2024120501in them if you want to download newer versions.Install them in the Extensions menu -> three dots -> Install from VSIX...
Edit
VSCODIUM_FOLDER/resources/app/product.json. Find theGitHub.copilotand insert the following permission:Troubleshooting
Check this post where I set it up myself: #1487 (comment)
The old way to authorize in previous versions of VSCodium:
spoiler
device_codeanduser_codein the responseuser_codeYOUR_DEVICE_CODEwith thedevice_codeyou got in step 2):access_tokenin the response (gho_...). Paste it in VSCodium when the Copilot extension requires authorization.Possible paths for the
product.json:/opt/vscodium-bin/resources/app/product.json/usr/share/codium/resources/app/product.json/Applications/VSCodium.app/Contents/Resources/app//snap/codium/current/usr/share/codium/resources/app/product.jsonAll reactions