cmd / laptop
I maintain a laptop repo which sets up a macOS machine as a software development environment.
Install
Clone onto laptop:
export LAPTOP="$HOME/laptop"
git clone https://github.com/croaky/laptop.git $LAPTOP
cd $LAPTOP
Review:
less laptop.sh
Run:
./laptop.sh
What it sets up
The script can safely be run multiple times. I run it most workday mornings. It is tested on the latest version of macOS on a arm64 (Apple Silicon) chip. It:
- installs system packages with Homebrew
- sets the shell to zsh
- sets the terminal to Ghostty and Warp
- symlinks dotfiles from the repo to
$HOME - installs Go, Ruby, and Node programming languages
- installs Go tools: deadcode, godoc, goimports, gopls
- installs language servers for Bash, Go, HTML, Lua, Ruby, TypeScript
- sets up Neovim with LSP, completion, fuzzy-finding
- starts Postgres dev and test clusters