Windows Package Management,
Automated.
PowerShell scripts for effortless Chocolatey package management on Windows 10 & 11.
Install apps, automate updates, backup packages, and keep your system healthy.
⚠️ Important Notice
These scripts modify system settings including PowerShell execution policies, Windows scheduled tasks, and installed applications. Always review scripts before running them with administrator privileges. You are responsible for understanding what each script does before execution. See the README for full documentation.
How to Use
Get started in minutes with just a few PowerShell commands.
1. Clone the Repository
Download the scripts to your local machine.
git clone https://github.com/DJCastle/chocolateyScripts.git
cd chocolateyScripts
# Or download and extract the ZIP
2. Set Execution Policy
Allow PowerShell to run local scripts.
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
3. Install & Configure
Run the installer and essential apps scripts.
.\install-chocolatey.ps1
# Install essential apps
.\install-essential-apps.ps1
4. Automate & Maintain
Set up automated updates and health checks.
.\health-check.ps1
# Schedule automatic maintenance
.\setup-scheduled-tasks.ps1
Scripts Library
Browse and download individual scripts from the repository.
Features
Everything you need to manage Chocolatey on Windows.
One-Click Install
Install Chocolatey and 12+ essential apps with a single script. Chrome, VS Code, Git, and more.
Smart Auto-Updates
Conditional updates that only run when on WiFi and plugged into power. Safe and intelligent.
Backup & Restore
Export your package list to JSON. Restore on a new machine in minutes. Perfect for migrations.
Health Diagnostics
Comprehensive system checks for Chocolatey installation, outdated packages, and disk usage.
Scheduled Tasks
Interactive wizard to set up Windows Task Scheduler for hands-free maintenance.
Toast Notifications
Modern Windows 10/11 notifications for update results. Know what happened without checking logs.
Requirements
What you need to get started.
- Windows 10 or Windows 11
- PowerShell 5.1+ (PowerShell 7+ recommended)
- Administrator privileges
- Internet connection
- 10 GB+ free disk space recommended
About
Chocolatey Scripts is an open-source project by CodeCraftedApps designed to simplify Windows package management for developers, IT professionals, and power users. Whether you're setting up a new machine or maintaining an existing one, these scripts help you get the job done quickly and reliably.