Skip to content

Instantly share code, notes, and snippets.

@nemanjam
Last active July 9, 2024 05:10
Show Gist options
  • Save nemanjam/a41b50d9c3d79109ff5020f0b7adb38d to your computer and use it in GitHub Desktop.
Save nemanjam/a41b50d9c3d79109ff5020f0b7adb38d to your computer and use it in GitHub Desktop.
Install VS Code
#!/bin/sh
# https://phoenixnap.com/kb/install-vscode-ubuntu
# sh -c "$(wget -qO- https://gist.githubusercontent.com/nemanjam/a41b50d9c3d79109ff5020f0b7adb38d/raw/a9b28342a01daa0a4e02fe3633dffd5f8aa6b4bd/install-vs-code.sh)"
sudo apt update && \
sudo apt install software-properties-common apt-transport-https wget -y && \
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add - && \
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" && \
sudo apt install code && \
code --version
@nemanjam
Copy link
Author

nemanjam commented Jul 9, 2024

sh -c "$(wget -qO- https://gist.githubusercontent.com/nemanjam/a41b50d9c3d79109ff5020f0b7adb38d/raw/65a06c2f335b7f366a38d17dc4a7c8fdd83df35a/install-vs-code.sh)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment