Last active
January 31, 2023 03:23
-
-
Save sunfkny/a80a17debcbd1149dc5237ce383ca791 to your computer and use it in GitHub Desktop.
install vscode server with a single command
This file contains 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
commit_id=$(python -c "print(__import__('requests').get('https://update.code.visualstudio.com/api/update/linux-x64/stable/VERSION').json()['version'])") && mkdir -p ~/.vscode-server/bin/${commit_id} && cd ~/.vscode-server/bin/${commit_id} && wget https://vscode.cdn.azure.cn/stable/${commit_id}/vscode-server-linux-x64.tar.gz -O vscode-server-linux-x64.tar.gz && tar zxvf vscode-server-linux-x64.tar.gz --strip 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Online installation readable version
/bin/bash -c "$(curl -fsSL https://vscode-server.deno.dev)"
or
Offline installation