All pages
Linux setup
Written for Ubuntu/Debian (including WSL). Fedora and Arch commands are at the end. New to the terminal? Read start-here.md first.
sudo runs a command as administrator and asks for your password. Nothing shows up while you type it. Your keyboard isn’t broken, just type it and press Enter.
1. Packages
sudo apt update
sudo apt install -y build-essential curl git gh python3 python3-pip python3-venv
On older Ubuntu releases gh isn’t in the default repositories; see https://github.com/cli/cli/blob/trunk/docs/install_linux.md.
2. Node
The Node in Ubuntu’s package list is often old, so use fnm instead. It installs Node in your home folder:
curl -fsSL https://fnm.vercel.app/install | bash
# open a new terminal
fnm install --lts
node -v
3. Python
Installed in step 1. The commands are python3 and pip3. Use a virtual environment for each project (see commands).
4. VS Code
Download the .deb from https://code.visualstudio.com, or use sudo snap install code --classic. On WSL, install VS Code on Windows instead and run code . from inside WSL.
5. Git and GitHub
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
git config --global init.defaultBranch main
git config --global push.autoSetupRemote true
git config --global pull.rebase false
gh auth login
6. Next
Docker
Only if your project needs it: see docker.md.
Fedora and Arch
# Fedora
sudo dnf install -y git gh nodejs npm python3
# Arch
sudo pacman -S --needed git github-cli nodejs npm python
Checklist
./scripts/check.shshows nothing important missinggh auth statusshows you’re logged in- An AI agent is installed and logged in
- You’ve deployed something once
Problems: troubleshooting.md