Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

36 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

PC Setup Scripts

Automated setup scripts for Windows and macOS to quickly configure a new development environment with essential applications, tools, and system tweaks.

⚑ TL;DR - Quick Start

Windows (Run as Administrator)

powershell -ExecutionPolicy Bypass -Command "iwr -useb https://raw.githubusercontent.com/peeweeh/pc-setup/master/win/install.ps1 | iex"

macOS

bash <(curl -fsSL https://raw.githubusercontent.com/peeweeh/pc-setup/master/mac/install.sh)

Both open interactive menus with 5 options:

  1. πŸ“¦ Install Applications (40-74+ apps)
  2. βš™οΈ Optimize System / πŸ”§ Development Setup
  3. 🎨 Install VS Code Extensions (50-68+ extensions)
  4. πŸ”’ Privacy Hardening
  5. πŸš€ Install ALL (recommended for fresh system)

πŸ“‹ Table of Contents


✨ Features

Windows

  • 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

macOS

  • 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

πŸ“‹ Prerequisites

Windows

  • Windows 10/11
  • Administrator privileges required
  • PowerShell 5.1 or later
  • Internet connection

macOS

  • macOS 10.15 or later
  • Internet connection
  • Xcode Command Line Tools (automatically prompted during Homebrew installation)

πŸš€ Detailed Usage

Windows Setup

Author: @mrfixit027

Interactive Installer (Recommended)

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

Just Install Applications

Set-ExecutionPolicy Bypass -Scope Process -Force; iwr -useb https://raw.githubusercontent.com/peeweeh/pc-setup/master/win/windows_install.ps1 | iex

Just Development Setup

Set-ExecutionPolicy Bypass -Scope Process -Force; iwr -useb https://raw.githubusercontent.com/peeweeh/pc-setup/master/win/dev_setup.ps1 | iex

Just VS Code Extensions

Set-ExecutionPolicy Bypass -Scope Process -Force; iwr -useb https://raw.githubusercontent.com/peeweeh/pc-setup/master/win/vscode_extensions.ps1 | iex

macOS Setup

Author: @mrfixit027

Interactive Installer (Recommended)

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

Just Install Applications

bash <(curl -fsSL https://raw.githubusercontent.com/peeweeh/pc-setup/master/mac/brew_install.sh)

Just Optimize System

bash <(curl -fsSL https://raw.githubusercontent.com/peeweeh/pc-setup/master/mac/mac_install.sh)

Just VS Code Extensions

bash <(curl -fsSL https://raw.githubusercontent.com/peeweeh/pc-setup/master/mac/vscode.sh)

Just Privacy Hardening

bash <(curl -fsSL https://raw.githubusercontent.com/peeweeh/pc-setup/master/mac/privacy.sh)

Run Locally from Cloned Repository

git clone https://github.com/peeweeh/pc-setup.git
cd pc-setup/mac
chmod +x *.sh
./install.sh

πŸ“¦ What Gets Installed

Windows Applications (74+ via Chocolatey)

Productivity & System Tools

  • 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)

Browsers

  • Google Chrome
  • Microsoft Edge
  • Brave Browser
  • Arc Browser

Development & Programming

  • 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)

CLI Tools & Utilities

  • 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)

Communication & Chat

  • 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)

Media & Entertainment

  • VLC (media player)
  • Plex Media Player (streaming)
  • Steam (gaming platform)
  • Spotify (music streaming)

Gaming & Gaming Platforms

  • Epic Games Launcher
  • EA App (Electronic Arts)
  • GOG Galaxy (DRM-free games)
  • Ubisoft Connect (Ubisoft games)

Cloud Storage & Backup

  • Google Drive (cloud storage)
  • iCloud (Apple cloud storage)
  • Proton Drive (encrypted storage)

System Monitoring & Performance

  • HWiNFO (hardware info)
  • DDU (Display Driver Uninstaller)
  • MSI Afterburner (GPU overclocking)
  • RivaTuner (GPU monitoring)

Graphics & Design

  • Calibre (ebook management)
  • Clipchamp (video editor)

Security & Privacy

  • Proton VPN (virtual private network)
  • Proton Mail (encrypted email)

Shell & Terminal Customization

  • Oh My Posh (PowerShell prompt theming)
  • Nerd Fonts (FiraMono, FiraCode with icons)

Development Environment (dev_setup.ps1)

  • 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)

PowerShell Modules

  • PSReadLine (enhanced command-line editing)
  • Terminal-Icons (file/folder icons in listings)

Windows VS Code Extensions (50+)

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

Windows Privacy & Telemetry Disabled (privacy_tweaks.ps1)

  • 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

macOS Applications (via Homebrew)

Development

  • Git, AWS CLI, AWS Nuke
  • Visual Studio Code
  • Docker
  • Postman
  • Fig, DevToys

Browsers

  • Google Chrome, Brave

Productivity

  • 1Password
  • Rectangle (window management)
  • Microsoft Office

Communication

  • Slack, Microsoft Teams, Discord
  • Zoom, Amazon Chime, Amazon Workspaces
  • Microsoft Remote Desktop

Media

  • VLC, Ferdium

Utilities

  • Google Drive, NordVPN
  • Adobe Creative Cloud

CLI Tools

  • bat, fzf, exa
  • Powerlevel10k

πŸ“š Detailed Script Reference

Windows Scripts

install.ps1 (Interactive Menu)

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)

windows_install.ps1 (74+ Applications)

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

dev_setup.ps1 (Development Environment)

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

privacy_tweaks.ps1 (Advanced Privacy)

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

vscode_extensions.ps1 (50+ Extensions)

Installs 50+ professionally-selected VS Code extensions

Runtime: 10-15 minutes

macOS Scripts

install.sh (Interactive Menu)

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)

brew_install.sh (50+ Applications)

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)

mac_install.sh (System Optimization)

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

vscode.sh (68+ Extensions)

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

privacy.sh (Advanced Privacy Hardening)

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

⚠️ Note: This is an advanced script with 831 lines of hardening rules. Review specific sections before running if you have concerns about compatibility with your workflow.

Runtime: 5-10 minutes


🎨 Customization

Windows

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-PoshThemes

macOS

Modify 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

πŸ”’ Privacy & Security

Windows Privacy (privacy_tweaks.ps1)

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

macOS Privacy (privacy.sh)

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

⚠️ Important Notes

Windows

  • 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

macOS

  • 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

🀝 Contributing

Feel free to submit issues, fork the repository, and create pull requests for any improvements.

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

πŸ“ž Support

If you encounter any issues or have questions:

  1. Check existing Issues
  2. Create a new issue with detailed information and error messages
  3. Include your OS version (Windows 10/11, macOS version)
  4. Specify which script caused the issue

About

Basic Setup scripts for newly formatted mac and windows

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages