Forked from brunolm/Install Visual Studio Code on Linux
Last active
December 25, 2016 08:16
-
-
Save pomber/db44098f3413d5213aec to your computer and use it in GitHub Desktop.
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
curl -L https://go.microsoft.com/fwlink/?LinkID=620884 > /tmp/vscode.zip | |
unzip -qq /tmp/vscode.zip -d /tmp | |
sudo cp -r /tmp/VSCode-linux-x64 /opt/vscode | |
sudo ln -s /opt/vscode/code /usr/local/bin/vscode | |
sudo rm -rf /tmp/VSCode-linux-x64 | |
sudo rm -f /tmp/vscode.zip | |
sudo touch /usr/share/applications/vscode.desktop | |
sudo chmod 777 /usr/share/applications/vscode.desktop | |
sudo echo -e "[Desktop Entry]\nName=VSCode\nComment=Visual Studio Code\nExec=/opt/vscode/code\nIcon=/opt/vscode/resources/app/resources/linux/code.png\nType=Application\nVersion=1.0\nTerminal=false\nCategories=Development" > /usr/share/applications/vscode.desktop | |
sudo chmod 644 /usr/share/applications/vscode.desktop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment