Cross-Platform Developer Setup: Git, SSH, Modern Terminals & Dotfiles
A unified developer guide to setting up high-performance terminal environments, robust Git configurations, modern Ed25519 SSH keys, and seamless dotfile synchronization across Windows, Linux, and macOS.
1. GPU-Accelerated Terminals & Starship Prompt
# Linux / macOS:
curl -sS https://starship.rs/install.sh | sh
# Windows PowerShell:
winget install Starship.StarshipInstalls the compiled Rust binary prompt on any operating system.
2. Robust Production Git Configuration
# On Windows:
git config --global core.autocrlf true
# On macOS & Linux:
git config --global core.autocrlf input
# Clean merge commits on all platforms:
git config --global pull.rebase true
git config --global init.defaultBranch mainEnforces standard LF normalized line endings in git repositories.
git config --global alias.st "status -sb"
git config --global alias.lg "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
git config --global alias.undo "reset --soft HEAD~1"Configures compact status, beautiful colorized commit trees, and a safe commit undo alias.
3. Modern Ed25519 SSH Key Setup
ssh-keygen -t ed25519 -C "your_email@example.com" -f ~/.ssh/id_ed25519Generates a secure Ed25519 public/private key pair.
# Add to ~/.ssh/config:
Host github.com
HostName github.com
User git
IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly yesAutomates SSH key selection without prompting.
4. WSL2 (Windows Subsystem for Linux) Mastery
Related Free Online Tools
Put these techniques into practice immediately with our privacy-first browser utilities:
Convert curl commands to JavaScript fetch, Python requests, PHP, and Go.
Convert configuration data between JSON and YAML formatting.
Beautify and standardize SQL queries according to ANSI conventions.