Skip to content

Instantly share code, notes, and snippets.

@Tiryoh
Created June 10, 2023 13:31
Show Gist options
  • Save Tiryoh/bd80f195666910a58f5742464c4c9a22 to your computer and use it in GitHub Desktop.
Save Tiryoh/bd80f195666910a58f5742464c4c9a22 to your computer and use it in GitHub Desktop.
Google Corme + VSCode install script
#!/usr/bin/env bash
set -eu
# Google Corme + VSCode install script
# Tested Version: Ubuntu 22.04
#
# (C) 2023 Daisuke Sato
# Released under the MIT License
# https://tiryoh.mit-license.org/2023
sudo apt-get install wget gpg apt-transport-https
wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo gpg --dearmor -o /usr/share/keyrings/google-chrome-keyring.gpg
sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome-keyring.gpg] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list'
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | sudo gpg --dearmor -o /usr/share/keyrings/packages.microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list'
sudo apt update
sudo apt install google-chrome-stable code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment