Skip to content

Instantly share code, notes, and snippets.

View JohnnyVicious's full-sized avatar

Johnny JohnnyVicious

  • Self-Employed
  • Belgium
View GitHub Profile
@JohnnyVicious
JohnnyVicious / bazzite-vscodeinsiders.md
Last active November 22, 2025 12:58
VSCode Insiders with Ubuntu in Dev Containers on Bazzite Linux (2025)

VS Code Insiders + Ubuntu Dev Environment on Bazzite Linux

This guide sets up VS Code Insiders with automatic updates and a persistent Ubuntu development container (similar to WSL) using Distrobox and Podman on Bazzite Linux (an ostree-based distro).

1. Add the Microsoft VS Code repository

echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\nautorefresh=1\ntype=rpm-md\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" \
    | sudo tee /etc/yum.repos.d/vscode.repo > /dev/null
@JohnnyVicious
JohnnyVicious / gist:b324ff20a38d5e59d99dd586ae3e97f5
Created November 2, 2025 19:22
Install PowerShell on Bazzite (ostree OS)
# Pick the version you want (match the one you tried if you like)
VER=7.5.4
ARCH=x64 # use 'arm64' on Apple/ARM boxes
# Create a versioned install dir under /usr/local
sudo mkdir -p /usr/local/microsoft/powershell/$VER
cd /usr/local/microsoft/powershell/$VER
# Download the universal tarball from the official releases
sudo curl -L -O https://github.com/PowerShell/PowerShell/releases/download/v$VER/powershell-$VER-linux-$ARCH.tar.gz