Skip to content

My dev environment setup (macOS, Windows+WSL Ubuntu, dev tools)

Notifications You must be signed in to change notification settings

kyhau/workspace

Repository files navigation

Quick setup for my development environment 💻

macOS

  • Install Homebrew and some packages with macos/init-setup-macos.sh, which includes calling
    1. macos/install-homebrew.sh - for non-admin setup (install things in ${HOME}/Applications/ instead);
    2. macos/install-brew-packages.sh - for installing selected apps/packages;
    3. set up general config/dot files;
    4. set up aliases - .aliases-macos;
    5. macos/update-dev-env.sh, for additional dev environment setups; e.g., default python/nodejs versions.
  • Set up iTerm2
    1. Install iTerm2 with brew
    2. Enable iTerm2 in VS Code integrated terminal (zsh)
    3. Set up oh-my-zsh with advanced theme (recommended Powerlevel10k)
  • Notes for non-admin setup
    • Two separate Applications folders
      1. /Applications usually requires admin to add apps there.
      2. /Users/<your username>/Applications is where we typically install additional apps without needing admin right.
    • For non-admin setup, either:
      1. Using Homebrew via CLI. To use Homebrew you must install it as a non-root user, essentially letting Homebrew store it’s tools under your user directory. See this macos/install-homebrew.sh.
      2. Websites that provide .dmg files where we drag to the app folder.

Windows + WSL

Set up tools for specific development work

Locations of some useful files or directories

  • Chrome History %USERPROFILE%\AppData\Local\Google\Chrome\User Data\Default\History
  • Firefox container file: %USERPROFILE%\AppData\Roaming\Mozilla\Firefox\Profiles\xx\containers.json
  • GitHub CLI (gh) oauth_token location (Windows): %USERPROFILE%\AppData\Roaming\GitHub CLI
  • GitHub CLI (gh) oauth_token location (WSL): ~/.config/gh/hosts.yml
  • Taskbar shortcuts pinned by admin (CustomTaskbarLayoutCollection): %USERPROFILE%\AppData\Local\Microsoft\Windows\Shell\LayoutModification.xml
  • WSL 1 Ubuntu home: %USERPROFILE%\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_xxx\LocalState\rootfs\home\username
  • WSL 2 Ubuntu home: \\wsl$\Ubuntu

About

My dev environment setup (macOS, Windows+WSL Ubuntu, dev tools)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •