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)Windows installer opens a menu with 5 options:
- π¦ Install Applications (40-74+ apps)
- π§ Development Setup
- π¨ Install VS Code Extensions (50+ extensions)
- π Privacy Tweaks
- π Install ALL (recommended for fresh system)
macOS installer opens a menu with 3 options:
- π¦ Install Applications (40-74+ apps)
- βοΈ Optimize System & Harden Privacy (combined performance + 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 3 options (Apps, Optimize + Privacy, All)
- Homebrew Package Installation - 2 tiers: Fast / Slow + 20+ CLI tools
- System Optimization - Performance, battery, and UI speed improvements
- Disables Siri, Photos AI, Media AI - Significant battery savings
- Privacy & Security Hardening - Combined with system optimization in a single script
- 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 & Harden Privacy (mac_optimize.sh)
3) π 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_optimize.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
- 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)
- Two install tiers:
- Fast (~30 apps) β Dev tools, browsers, comms & productivity (1password, arc, vscode, raycast, chrome, slack, etc.)
- Slow (~14 more apps) β Fast + Office, Docker, cloud/VPN, and other large/slow installs (figma, steam, docker-desktop, 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
- Animated progress - Spinner hides noisy Homebrew output; only shown on failure
- CLI tools (20+ formulae): bat, fzf, eza, btop, git, gh, ruff, black, awscli, docker, etc.
- Oh My Zsh configuration with Powerlevel10k, syntax highlighting, auto-suggestions
- Background activity disabled for all installed apps (login items + LaunchAgents)
Runtime: ~15-20 min (Fast) / ~40-70 min (Slow)
Combined macOS performance/UI optimization and privacy & security hardening
(formerly two separate scripts, mac_install.sh and privacy.sh):
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
- 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
Privacy & Security Hardening:
- Framework: Privacy portions 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: AirDrop, Bonjour, advertising identifiers, iCloud document storage
- Security hardening: Firewall (incl. stealth mode), remote access disabling, guest user removal
sudo
as needed - run the script as your normal user, not with sudo in front of it.
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_optimize.sh to adjust Dock size, Finder settings, etc.
Change Terminal Theme: Replace the Nord theme URL in mac_optimize.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 (privacy portions from privacy.sexy framework), combined with system optimization in a single script:
- Disables Siri completely - Removes all Siri services and data collection
- Blocks telemetry - Firefox, Office, Homebrew, .NET, PowerShell
- Security hardening - Firewall (incl. stealth mode), 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
- mac_optimize.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