Skip to content

CodyLiska/dev-workstation-setup

Repository files navigation

Dev Workstation Setup

Cross-platform dev-environment bootstrap repo for Windows PowerShell + WSL (bash) + MacOS (zsh/bash).


What this repo includes

  • CLI aliases
    • PowerShell: cli_aliases/powershell/aliases.ps1
    • Bash/WSL: cli_aliases/bash/aliases.bash
  • Folder-structure bootstrap scripts
    • PowerShell: folder_structure/create-dev-folder-structure.ps1
    • Bash/WSL: folder_structure/create-dev-folder-structure.sh
  • Project scaffold
    • scaffold-project.ps1
    • scaffold-project.sh
  • VS Code baseline
    • .editorconfig
    • .prettierrc
    • .vscode/extensions.json
  • Cheat sheet
    • docs/powershell-bash-alias-cheatsheet.md

Quickstart

Windows (PowerShell)

  1. Open your profile:

    notepad $PROFILE
  2. Add this line (adjust the path to your repo clone):

    . "C:\path\to\new-dev-env\cli_aliases\powershell\aliases.ps1"
  3. Reload:

    . $PROFILE

WSL / Linux (bash)

  1. Edit your .bashrc:

    nano ~/.bashrc
  2. Add:

    source "/mnt/c/path/to/new-dev-env/cli_aliases/bash/aliases.bash"
  3. Reload:

    source ~/.bashrc

macOS (zsh default)

Run:

./scripts/install-macos.sh

This:

  • Adds aliases to ~/.zshrc
  • Also updates ~/.bashrc
  • Installs tree via Homebrew (if available)

Reload:

source ~/.zshrc

Create the dev folder structure

PowerShell

.\folder_structure\create-dev-folder-structure.ps1 -BasePath "D:\"

Options:

  • -BasePath (required)
  • -RootFolderName (default: _development)

WSL / macOS

chmod +x ./folder_structure/create-dev-folder-structure.sh
./folder_structure/create-dev-folder-structure.sh --base "$HOME" --root "_development"

Scaffold a New Project

Copies:

  • .editorconfig
  • .prettierrc
  • .vscode/extensions.json

PowerShell

.\scaffold-project.ps1 -ProjectPath "D:\_development\01_Projects\Personal\my-new-project"

WSL / macOS

./scaffold-project.sh "$HOME/_development/01_Projects/Personal/my-new-project"

Notes

If tree is not installed:

Ubuntu / WSL

sudo apt update
sudo apt install tree

macOS

brew install tree

About

Cross-platform dev bootstrap with CLI aliases, folder scaffolding, and VS Code baseline. Built for PowerShell, WSL, and macOS.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors