Skip to content

Instantly share code, notes, and snippets.

@brunolm
Last active February 9, 2020 06:43
Show Gist options
  • Save brunolm/65a760f6130fd2e1d39c to your computer and use it in GitHub Desktop.
Save brunolm/65a760f6130fd2e1d39c to your computer and use it in GitHub Desktop.
curl -L "https://go.microsoft.com/fwlink/?LinkID=760868" > /tmp/vscode.deb
sudo dpkg -i /tmp/vscode.deb && sudo apt-get install -f
@brunolm
Copy link
Author

brunolm commented Oct 29, 2015

Running from command line

code [dir]

@slobber
Copy link

slobber commented Dec 26, 2015

line 9:
sudo echo -e "[Desktop Entry]\nName=VSCode\nComment=Visual Studio Code\nExec=/opt/vscode/Code\nIcon=/opt/vscode/resources/app/vso.png\nType=Application\nVersion=1.0\nTerminal=false\nCategories=Development" > /usr/share/applications/vscode.desktop
Icon's path has changed to /opt/vscode/resources/app/resources/linux/vscode.png

@jsec516
Copy link

jsec516 commented Feb 13, 2016

vscode.png renamed again as code.png so line 9 should be:

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

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