Chromebook

Chrome OS automatically restores Chrome apps and settings on new machines, so this guide is really about setting up crostini, also known as “Linux Apps for Chromebook”.

Crostini

Enable Linux Apps for Chromebook at chrome://settings/crostini/detailsand launch the Terminal app.

Basic Setup

Install common packages:

sudo apt-get update
sudo apt-get install git keychain lsb-release man manpages mosh zsh

Some packages need to be installed from backports to get the desired version:

echo "deb http://ftp.debian.org/debian $(lsb_release -c -s)-backports main" | sudo tee -a /etc/apt/sources.list.d/backports.list
sudo apt-get update
sudo apt-get -t $(lsb_release -c -s)-backports install tmux

Basic setup:

sudo chsh -s /usr/bin/zsh $USER

Dotfiles

Follow standard instructions from https://github.com/willnorris/dotfiles#readme:

git clone https://github.com/willnorris/dotfiles ~/.dotfiles
PATH="~/.dotfiles/rcm/bin:$PATH" rcup

Apps

Some additional programs I install manually: