Skip to content

Instantly share code, notes, and snippets.

@the-redback
Last active April 30, 2019 06:20
Show Gist options
  • Save the-redback/fccc3423800b881137e230699093f23f to your computer and use it in GitHub Desktop.
Save the-redback/fccc3423800b881137e230699093f23f to your computer and use it in GitHub Desktop.
Update or Install latest vscode without uninstalling previous one.
#!/bin/bash
set -eou pipefail
wget https://vscode-update.azurewebsites.net/latest/linux-deb-x64/stable -O /tmp/code_latest_amd64.deb
sudo dpkg -i /tmp/code_latest_amd64.deb
@the-redback
Copy link
Author

the-redback commented Mar 2, 2018

To run this script:

$ curl https://gist.githubusercontent.com/the-redback/fccc3423800b881137e230699093f23f/raw/aa29d3d3a584e279b7c6d95b1586fc56ee1a3f68/vscode-updater \
    | bash

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