Created
March 7, 2024 22:44
-
-
Save dongerardor/0ba0a5d4f22ac4bf598ed33711de09bd to your computer and use it in GitHub Desktop.
bash script to update VS Code in Debian
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
| #!/bin/bash | |
| # Update vscode in Linux (Debian, Ubuntu) | |
| # creating a bash file: 'auto-update-vscode.sh' with this content. | |
| # | |
| # Before the script can be run, the file must have executable permissions. | |
| ### chmod +x auto-update0-vscode.sh | |
| # | |
| # and then run the file: | |
| ### ./auto-update-vscode.sh # being in file dir | |
| wget 'https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64' -O /tmp/code_latest_amd64.deb | |
| sudo dpkg -i /tmp/code_latest_amd64.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment