Development Environment Setup
Recipe for setting up a productive dev environment.
Ingredients
- A Unix-like system (@linux or macOS)
- Terminal emulator
- Package manager
Steps
1. Install Homebrew (macOS) or your distro's package manager
# macOS
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Arch Linux - pacman is built-in
# Ubuntu/Debian
sudo apt update && sudo apt upgrade
2. Install Essential Tools
# Shell
brew install zsh starship
# Development
brew install git neovim tmux ripgrep fd fzf
# Languages
brew install rust go python node
3. Configure Zsh
# Install oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# Add to .zshrc
eval "$(starship init zsh)"
4. Setup Git
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
git config --global init.defaultBranch main
git config --global pull.rebase true
5. Configure Neovim
Start with a preconfigured setup like LazyVim or build your own.
Verification
# Check installations
which zsh git nvim tmux
rustc --version
go version
python3 --version
node --version
Related: #devtools #setup #productivity @linux @development