Skip to content

Instantly share code, notes, and snippets.

@jonasbjork
Created March 15, 2023 11:23
Show Gist options
  • Save jonasbjork/52886ebaee7691766890f32e15005fe7 to your computer and use it in GitHub Desktop.
Save jonasbjork/52886ebaee7691766890f32e15005fe7 to your computer and use it in GitHub Desktop.
Install Google Chrome in Ubuntu WSL2 on Windows 11 and always start clean.
#!/usr/bin/env bash
# Install Google Chrome in Ubuntu / WSL2 on Windows 11:
# $ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
# $ sudo apt install libgbm1 libu2f-udev libwayland-server0
# $ sudo dpkg -i google-chrome-stable_current_amd64.deb
#
# Start Google Chrome:
# $ google-chrome
# Clean cache every start
rm -rf ~/.config/google-chrome/
google-chrome 2>chrome-error.log &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment