Setting Up a Home Development Environment

Let’s dive deeper into setting up your development environment for remote work. Here’s my complete setup guide.

Terminal Setup

# Windows Terminal + PowerShell Core
winget install Microsoft.WindowsTerminal
winget install Microsoft.PowerShell

# Oh My Posh for beautiful prompts
Install-Module oh-my-posh -Scope CurrentUser
Install-Module posh-git -Scope CurrentUser

VS Code Extensions

  • Remote – SSH: Edit code on remote servers
  • Remote – Containers: Develop inside containers
  • Live Share: Real-time pair programming
  • GitLens: Git supercharged
  • Bracket Pair Colorizer: Visual bracket matching

Git Configuration

# Better diffs
git config --global core.pager "delta"

# Useful aliases
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.st status
git config --global alias.lg "log --oneline --graph --all"

Docker for Development

# docker-compose.yml - Common dev services
version: '3.8'
services:
  postgres:
    image: postgres:13
    ports:
      - "5432:5432"
  redis:
    image: redis:6
    ports:
      - "6379:6379"

References


Discover more from C4: Container, Code, Cloud & Context

Subscribe to get the latest posts sent to your email.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.