Last active
June 20, 2025 17:16
-
-
Save mh0w/9a8ccc7441270f50df32dc326a33236a to your computer and use it in GitHub Desktop.
Download vs code server files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Taken from https://stackoverflow.com/a/57601121/19532697 | |
# Get your commit id from VS Code's Help tab | |
commit_id=f06011ac164ae4dc8e753a3fe7f9549844d15e35 | |
# Download url is: https://update.code.visualstudio.com/commit:${commit_id}/server-linux-x64/stable | |
# The file might be up to about 100MB and thus might take a while to download if speeds are low | |
# Optional: use -k to disable ssl certificate check requirement | |
curl -sSL "https://update.code.visualstudio.com/commit:${commit_id}/server-linux-x64/stable" -o vscode-server-linux-x64.tar.gz | |
mkdir -p ~/.vscode-server/bin/${commit_id} | |
tar zxvf vscode-server-linux-x64.tar.gz -C ~/.vscode-server/bin/${commit_id} --strip 1 | |
touch ~/.vscode-server/bin/${commit_id}/0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem: cannot use GitHub CoPilot in ssh remote sessions.
Solution: add this to .vscode/settings.json (e.g. on the remote server)
Source: https://github.com/orgs/community/discussions/52369#discussioncomment-9156988