A new machine is a PITA. This makes it less, at least for me it does.
This repository contains scripts to automate the setup of a new development machine. It handles the installation of common development tools and applications using package managers:
- For macOS: Homebrew
- For Windows: Chocolatey
./NewMachineSetup.sh
This will:
- Install Homebrew if not already installed
- Install all packages and applications from
Brewfile
- Install Python packages from
requirements.txt
- Install Ruby gems from
Gemfile
.\NewMachineSetup.ps1
This will:
- Install Chocolatey if not already installed
- Create a workspace directory
- Install Windows features listed in
features.txt
- Install applications listed in
chocolatey.config
- Install Python packages from
requirements.txt
- Install Ruby gems from
Gemfile
To customize the installations:
- Edit
Brewfile
for macOS Homebrew packages and applications - Edit
chocolatey.config
for Windows applications - Edit
features.txt
for Windows features - Edit
requirements.txt
for Python packages - Edit
Gemfile
for Ruby gems
The Brewfile
uses Homebrew Bundle, a feature that allows you to specify all your desired packages, casks, and even Mac App Store applications in a single file.
To manually install from the Brewfile:
brew bundle
The chocolatey.config
is an XML file that defines all the Windows packages to install. It follows the Chocolatey package configuration format.
To manually install from the Chocolatey config:
choco install chocolatey.config
As this is my personal set up I will not be accepting package PR's. I'm sorry, but I'm not installing things I don't need. You can fork it though.