Automated setup scripts for Windows and macOS to quickly configure a new development environment with essential applications, tools, and system tweaks.
powershell -ExecutionPolicy Bypass -Command "iwr -useb https://raw.githubusercontent.com/peeweeh/pc-setup/master/win/install.ps1 | iex"bash <(curl -fsSL https://raw.githubusercontent.com/peeweeh/pc-setup/master/mac/install.sh)Both open interactive menus with 5 options:
- 📦 Install Applications (40-74+ apps)
- ⚙️ Optimize System / 🔧 Development Setup
- 🎨 Install VS Code Extensions (50-68+ extensions)
- 🔒 Privacy Hardening
- 🚀 Install ALL (recommended for fresh system)
- Quick Start
- Features
- Prerequisites
- Detailed Usage
- What Gets Installed
- Detailed Script Reference
- Customization
- Privacy & Security
- Important Notes
- Contributing
- Support
- Interactive Installer - Menu-driven setup with 5 options (Apps, Dev Setup, VS Code, Privacy, All)
- Automated Package Installation via Chocolatey (74+ packages)
- GPU Detection & Drivers - Automatically detects and installs NVIDIA/AMD drivers
- Development Environment Setup - WSL2, Docker, Node.js, Python, AWS CLI, Git
- Privacy & Performance Tweaks - Comprehensive telemetry disabling (471 lines)
- Disables Cortana, GameDVR, Telemetry - Reclaims system resources
- Oh My Posh Configuration - Beautiful PowerShell prompt with Nerd Fonts
- PowerShell Enhancement - PSReadLine and Terminal-Icons modules
- System Restore Point - Created before applying tweaks for safety
- Interactive Installer - Menu-driven setup with 5 options (Apps, Optimize, VS Code, Privacy, All)
- Homebrew Package Installation - 3 tiers: Essential / Productivity / Everything + 20+ CLI tools
- System Optimization - Performance, battery, and UI speed improvements
- Disables Siri, Photos AI, Media AI - Significant battery savings
- Privacy Hardening - Comprehensive 831-line privacy configuration
- Shell Enhancement - Powerlevel10k for Zsh, plugins, aliases
- Dock & Finder Customization - Auto-hide, speed improvements, clean layout
- Terminal Theme - Nord color scheme for beautiful terminal
- Windows 10/11
- Administrator privileges required
- PowerShell 5.1 or later
- Internet connection
- macOS 10.15 or later
- Internet connection
- Xcode Command Line Tools (automatically prompted during Homebrew installation)
Author: @mrfixit027
Run this command in PowerShell as Administrator:
powershell -ExecutionPolicy Bypass -Command "iwr -useb https://raw.githubusercontent.com/peeweeh/pc-setup/master/win/install.ps1 | iex"Or run locally after cloning:
Set-ExecutionPolicy Bypass -Scope Process -Force
& ".\win\install.ps1"The installer shows a menu:
========================================
PC Setup - Master Installer
========================================
Choose an option:
1) 📦 Install Applications (windows_install.ps1)
2) 🔧 Development Setup (dev_setup.ps1)
3) 🎨 Install VS Code Extensions (vscode_extensions.ps1)
4) 🔒 Privacy Tweaks (privacy_tweaks.ps1)
5) 🚀 Install ALL (recommended for fresh Windows)
q) ❌ Quit
Set-ExecutionPolicy Bypass -Scope Process -Force; iwr -useb https://raw.githubusercontent.com/peeweeh/pc-setup/master/win/windows_install.ps1 | iexSet-ExecutionPolicy Bypass -Scope Process -Force; iwr -useb https://raw.githubusercontent.com/peeweeh/pc-setup/master/win/dev_setup.ps1 | iexSet-ExecutionPolicy Bypass -Scope Process -Force; iwr -useb https://raw.githubusercontent.com/peeweeh/pc-setup/master/win/vscode_extensions.ps1 | iexAuthor: @mrfixit027
bash <(curl -fsSL https://raw.githubusercontent.com/peeweeh/pc-setup/master/mac/install.sh)Shows menu:
╔═══════════════════════════════════════════════════╗
║ 🍎 macOS Setup Script - Choose an Option ║
╚═══════════════════════════════════════════════════╝
1) 📦 Install Applications (brew_install.sh)
2) ⚙️ Optimize System (mac_install.sh)
3) 🎨 Install VS Code Extensions (vscode.sh)
4) 🔒 Privacy Hardening (privacy.sh)
5) 🚀 Install ALL (recommended for fresh Mac)
q) ❌ Quit
bash <(curl -fsSL https://raw.githubusercontent.com/peeweeh/pc-setup/master/mac/brew_install.sh)bash <(curl -fsSL https://raw.githubusercontent.com/peeweeh/pc-setup/master/mac/mac_install.sh)bash <(curl -fsSL https://raw.githubusercontent.com/peeweeh/pc-setup/master/mac/vscode.sh)bash <(curl -fsSL https://raw.githubusercontent.com/peeweeh/pc-setup/master/mac/privacy.sh)git clone https://github.com/peeweeh/pc-setup.git
cd pc-setup/mac
chmod +x *.sh
./install.sh- 1Password (password manager)
- PowerToys (Windows productivity utilities)
- Sysinternals (system administration tools)
- Everything (instant file search)
- TreeSizeFree (disk space analyzer)
- WizTree (fast disk space visualization)
- Chocolatey GUI (package manager GUI)
- 7-Zip, WinRAR (compression utilities)
- Google Chrome
- Microsoft Edge
- Brave Browser
- Arc Browser
- Git, GitHub Desktop (version control)
- Visual Studio Code (IDE)
- Node.js, npm (JavaScript/TypeScript)
- Python (Python runtime)
- Go (Go programming language)
- Postman (API testing)
- Neovim (terminal editor)
- LINQPad (C# scripting)
- Fig (CLI autocompletion)
- DevToys (developer utilities)
- FFmpeg (video processing)
- bat (cat with syntax highlighting)
- fzf (fuzzy finder)
- ripgrep (fast grep)
- fd (fast find)
- zoxide (smart directory navigation)
- git-delta (enhanced git diffs)
- jq (JSON processor)
- curl (data transfer)
- less (pager)
- Slack (team messaging)
- Microsoft Teams (enterprise chat)
- Discord (community chat)
- Signal (secure messaging)
- Telegram (messaging app)
- WhatsApp (messaging app)
- Amazon Chime (AWS video conferencing)
- Beeper (unified messaging)
- VLC (media player)
- Plex Media Player (streaming)
- Steam (gaming platform)
- Spotify (music streaming)
- Epic Games Launcher
- EA App (Electronic Arts)
- GOG Galaxy (DRM-free games)
- Ubisoft Connect (Ubisoft games)
- Google Drive (cloud storage)
- iCloud (Apple cloud storage)
- Proton Drive (encrypted storage)
- HWiNFO (hardware info)
- DDU (Display Driver Uninstaller)
- MSI Afterburner (GPU overclocking)
- RivaTuner (GPU monitoring)
- Calibre (ebook management)
- Clipchamp (video editor)
- Proton VPN (virtual private network)
- Proton Mail (encrypted email)
- Oh My Posh (PowerShell prompt theming)
- Nerd Fonts (FiraMono, FiraCode with icons)
- WSL2 (Windows Subsystem for Linux)
- Docker Desktop (containerization)
- AWS CLI (Amazon Web Services CLI)
- GitHub CLI (gh command)
- Rust (Rust programming language)
- Java JDK (Java development)
- PSReadLine (enhanced command-line editing)
- Terminal-Icons (file/folder icons in listings)
AI & Productivity: GitHub Copilot, Amazon Q, Claude, Continue, DS Code GPT
Themes & Icons: Nord, Dracula, One Dark Pro, Material Theme, vscode-icons
Languages: Python (Autopep8, isort, Pylance), Go, GraphQL, JavaScript, TypeScript, Rust, C++, SQL
Development Tools: ESLint, Prettier, CodeSnap, Turbo Console Log, Better Comments
Git & Version Control: GitLens, Git History, Atlassian (Jira/Bitbucket)
DevOps & Infrastructure: Docker, Kubernetes, AWS Toolkit, Terraform, Remote Containers, GitHub Actions
Data & Analysis: Jupyter, Python, REST Client, Thunder Client
Utilities: Edge DevTools, PowerShell, Live Share, YAML, Markdown, Excel Viewer, File Downloader
- Disables diagnostic data collection
- Removes Cortana and Cortana search
- Disables location tracking
- Disables activity history
- Disables cloud-based speech recognition
- Removes consumer features and app suggestions
- Disables text and handwriting data collection
- Opts out of Windows feedback
- Removes default user accounts
- Disables various telemetry services
- Disables consumer feature recommendations
- Opt-out of privacy consent and personalization
- Git, AWS CLI, AWS Nuke
- Visual Studio Code
- Docker
- Postman
- Fig, DevToys
- Google Chrome, Brave
- 1Password
- Rectangle (window management)
- Microsoft Office
- Slack, Microsoft Teams, Discord
- Zoom, Amazon Chime, Amazon Workspaces
- Microsoft Remote Desktop
- VLC, Ferdium
- Google Drive, NordVPN
- Adobe Creative Cloud
- bat, fzf, exa
- Powerlevel10k
Master installer with menu-driven setup orchestration:
- Beautiful colored menu interface with emoji status
- Select individual scripts or run all
- Proper error handling and progress tracking
- Automatically handles PowerShell execution policy
- Downloads scripts from GitHub on-the-fly (no manual cloning required)
Comprehensive Windows setup script with:
- Automatic Chocolatey installation if not present
- GPU detection - Detects NVIDIA/AMD and installs appropriate drivers
- NVIDIA: Installs nvidia-app and nvidia-physx
- AMD: Prompts user to download drivers manually
- System restore point created before applying tweaks
- Windows Privacy & Performance Tweaks:
- Disables telemetry and diagnostic data collection
- Disables location tracking and Wi-Fi Sense
- Disables consumer features and app suggestions
- Disables GameDVR and Xbox features
- Disables cortana and feedback collection
- Enables "End Task" right-click on taskbar
- Runs disk cleanup
- Disables hibernation (saves SSD space)
- Disables storage sense optimization
- Oh My Posh Configuration:
- Installs Oh My Posh with atomic theme
- Installs Nerd Fonts (FiraMono, FiraCode)
- Creates/backs up PowerShell profile
- PowerShell Modules:
- PSReadLine (enhanced command-line editing)
- Terminal-Icons (file/folder icons in directory listings)
Runtime: 20-60 minutes depending on internet speed
Development environment setup with:
- WSL2 (Windows Subsystem for Linux) Installation
- Installs WSL with Ubuntu
- Configures WSL resources and networking
- Docker Desktop Setup
- Installs Docker Desktop via Chocolatey
- Enables Docker integration with WSL2
- Development Tools:
- Node.js and npm package manager
- Python with pip and common packages (requests, flask, numpy, pandas)
- Git configuration (user.name, user.email, core.editor)
- AWS Configuration
- AWS CLI installation and configuration
- AWS credentials setup with interactive prompts
- Version Control:
- Git configuration
- GitHub CLI (gh) setup
- SSH key generation for GitHub
- Language SDKs:
- Go installation and path setup
- Rust installation (via rustup)
- Java JDK installation
Runtime: 30-45 minutes
Comprehensive Windows privacy hardening (471 lines):
- Disables telemetry: Diagnostic data, feedback collection, activity history
- Removes tracking: Location services, Wi-Fi Sense, cloud-based speech recognition
- Disables spyware: Cortana, Siri integration, consumer features
- Privacy policies: Opts out of Windows privacy consent, personalization
- App diagnostics: Disables app data collection
- Input privacy: Disables text/handwriting data collection
- Start menu: Removes app suggestions and tiles
- Network privacy: Disables network suggestions
- General privacy: Removes default user accounts, minimizes DISM data
Runtime: 3-5 minutes
Installs 50+ professionally-selected VS Code extensions
Runtime: 10-15 minutes
Main entry point for setting up macOS:
- Beautiful colored menu interface with emoji status
- Select individual scripts or run all
- Proper error handling and progress tracking
- Automatically elevates to sudo when needed
- Downloads scripts from GitHub on-the-fly (no manual cloning required)
Comprehensive Homebrew installation script with:
- Automatic Homebrew installation if not present (handles Apple Silicon & Intel)
- Three install tiers (cumulative):
- Essential (~25 apps) – Dev tools & core utilities (1password, arc, vscode, raycast, postman, etc.)
- Productivity (~40 apps) – + browsers, comms, productivity (chrome, slack, obsidian, zoom, etc.)
- Everything (50+ apps) – + office, cloud/VPN, enterprise, heavy apps (docker, figma, steam, etc.)
- Sudo keep-alive – Password asked once; background loop refreshes it automatically
- Idempotent design - Safe to run multiple times without duplication
- Error handling - Exits cleanly on any installation failure
- Colored output with status indicators
- CLI tools (20+ formulae): bat, fzf, eza, btop, git, awscli, docker, etc.
- Oh My Zsh configuration with Powerlevel10k, syntax highlighting, auto-suggestions
- Service management: Disables auto-start for Docker, Ollama, VPNs
Runtime: ~5 min (Essential) / ~15-20 min (Productivity) / ~30-60 min (Everything)
Comprehensive macOS customization and performance optimization:
Performance Enhancements:
- Disables Siri and Siri suggestions (reclaims system resources)
- Disables Photos AI processing (stops memory/storage drain)
- Disables Media AI features (eliminates background processing)
- Disables Game Center and related services
- Fixes macOS Sonoma lag issues
- Optimizes launchd services
UI Speed Improvements:
- Instant window resize animations
- Instant Dock appearance on hover
- Removes all UI animation delays
- Speeds up Mission Control and Exposé
- Disables smooth scrolling delays
- Faster screenshot saving
Dock & Finder Configuration:
- Auto-hide Dock (saves screen space)
- Removes recents from Dock
- Shows hidden files and file extensions
- Enables path bar and status bar
- Single-click proxy icons
- Proper directory default views
Input & System Settings:
- Fast keyboard repeat rate
- Trackpad gestures configuration
- Modifier key mapping
- Screen resolution optimization
- Click speed adjustment
- Hot corner configuration
Terminal & Shell:
- Nord theme installation (beautiful color scheme)
- Oh My Zsh setup with plugins
- Powerlevel10k prompt configuration
- Syntax highlighting and auto-suggestions enabled
Runtime: 2-3 minutes
Automated VS Code extension installation with categorized setup:
Categories: AI, Themes, Languages, DevOps, Git, Data Science, Utilities, Gaming
Features:
- Colored progress output with statistics
- Automatically skips already-installed extensions
- Generates backup installation script
- Shows total count and installation time
- Requires VS Code CLI in PATH (automatically detected)
Runtime: 5-10 minutes
Comprehensive privacy and security hardening (831 lines):
- Framework: Generated from privacy.sexy framework
- Comprehensive Siri disabling: All Siri services, suggestions, and data collection
- Telemetry blocking: Firefox, Microsoft Office, Homebrew, .NET Core, PowerShell
- System cleaning: Cache clearing, DNS purging, Xcode cache, trash, logs
- Privacy features: Location services, Bluetooth, accessibility permissions
- Security hardening: Firewall configuration, remote access disabling, guest user removal
- iCloud settings: Document storage, photo sync, keychain settings
- Advanced features: System integrity protection checks, firmware updates, secure boot
Runtime: 5-10 minutes
Modify Package List: Edit the $packages array in windows_install.ps1
$packages = @(
"package-name",
# Add or remove packages here
)Skip Privacy Tweaks: Comment out the "Windows Privacy & Performance Tweaks" section
Change Oh My Posh Theme: After installation, edit your PowerShell profile:
notepad $PROFILE
# Change 'atomic.omp.json' to your preferred theme
# View themes: Get-PoshThemesModify Brew Packages: Edit brew_install.sh and add/remove brew install commands
Customize System Settings: Edit mac_install.sh to adjust Dock size, Finder settings, etc.
Change Terminal Theme: Replace the Nord theme URL in mac_install.sh
Comprehensive privacy hardening with 471 lines of registry tweaks:
- Disables telemetry - Diagnostic data, feedback collection, activity history
- Removes tracking - Location services, Wi-Fi Sense, cloud-based speech recognition
- Disables spyware - Cortana, consumer features, app suggestions
- Opts out - Windows privacy consent, personalization, content delivery
- Input privacy - Disables text and handwriting data collection
- Network privacy - Removes network suggestions and defaults
- General privacy - Removes default user accounts, minimizes DISM data
- Creates restore point - Allows reverting changes if needed
Advanced privacy hardening with 831 lines from privacy.sexy framework:
- Disables Siri completely - Removes all Siri services and data collection
- Blocks telemetry - Firefox, Office, Homebrew, .NET, PowerShell
- Security hardening - Firewall, removes guest user, disables remote access
- Clears data - System caches, CUPS, Xcode, DNS, trash
- Requires Administrator privileges - Run PowerShell as Administrator
- System restore point created - Safe to revert if issues occur
- GPU drivers: NVIDIA auto-detected, AMD requires manual download
- Restart recommended - Some features require reboot to take effect
- dev_setup.ps1 is optional - Only needed for development environment
- privacy_tweaks.ps1 can be reviewed - Edit registry keys before running if desired
- WSL2 requires Hyper-V - Check BIOS for virtualization support
- Homebrew installs automatically if not present
- Xcode Command Line Tools installed automatically by Homebrew
- System restart recommended - For full effect of system tweaks
- Some settings require logout - Especially shell configuration changes
- privacy.sh is advanced - Review before running on critical systems
Feel free to submit issues, fork the repository, and create pull requests for any improvements.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Chocolatey - Package manager for Windows
- Homebrew - Package manager for macOS
- Oh My Posh - PowerShell prompt theming
- Powerlevel10k - Zsh prompt theme
- privacy.sexy - Privacy configuration framework
- @mrfixit027 - Script author and maintainer
If you encounter any issues or have questions:
- Check existing Issues
- Create a new issue with detailed information and error messages
- Include your OS version (Windows 10/11, macOS version)
- Specify which script caused the issue