Something went wrong. Try again.
devcontainer for my most common stack
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334#!/bin/bash# Exit immediately if a command failsset -e
echo "Updating base packages and installing prerequisites..."sudo apt-get update# Note: python3-venv is required for system Python dependencies.sudo apt-get install -y python3 python3-pip python3-venv apt-transport-https ca-certificates gnupg curl
echo "Adding Google Cloud SDK repository..."curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --yes --dearmor -o /usr/share/keyrings/cloud.google.gpgecho "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee /etc/apt/sources.list.d/google-cloud-sdk.list
echo "Installing Google Cloud CLI..."sudo apt-get updatesudo apt-get install -y google-cloud-cli
echo "Installing Global Node Packages (Gemini CLI, pnpm, Vite, & Firebase CLI)..."npm install -g @google/gemini-cli pnpm vite create-vite firebase-tools
echo "Installing Python Tooling (uv & poetry)..."curl -LsSf https://astral.sh/uv/install.sh | shcurl -sSL https://install.python-poetry.org | python3 -
echo "Initializing Python 3.14 Virtual Environment..."# Make the newly installed 'uv' available to this script sessionexport PATH="$HOME/.local/bin:$PATH"
# Tell uv to fetch Python 3.14 (if needed) and create the .venv in the workspace rootuv venv --python 3.14
echo "Setup complete!"