Last active
August 7, 2024 23:40
-
-
Save donglixp/73023e185e54bb0a3f3bd80d3cb607bb to your computer and use it in GitHub Desktop.
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
| sudo apt-get install -y wget gpg ; wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg | |
| sudo install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg | |
| sudo sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list' | |
| rm -f packages.microsoft.gpg | |
| sudo apt install -y apt-transport-https ; sudo apt update ; sudo apt install -y code ; code tunnel --accept-server-license-terms |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment