Bubble bubble, toil and brew...
Alchemist can backup your entire Homebrew (macOS and Linux) or Chocolatey (Windows) instance. It does this by retrieving the list of installed packages and creating a script that can be run to restore your entire Homebrew or Chocolatey instance.
alchemist --backup
If you run into troubles backing up your Homebrew instance, it's recommended to try running Alcehmist with the --update
flag first.
Alchemist automates the entire Homebrew update process including:
- Updating available taps and formula references
- Upgrading packages
- Upgrading casks
- Cleaning up old/stale taps and formula
- Checking for problems with your Homebrew instance
Alchemist will update all of your Chocolatey packages:
alchemist --update
# Setup the tap
brew tap justintime50/formulas
# Install the tool
brew install alchemist
Download the Windows binary from the releases page.
Alchemist saves logs to ~/alchemist/update/alchemist-update.log
. Logs by default are kept on the system for 90 days
and are automatically rotated for you once their size exceeds 1mb or the logs become older than 90 days.
Scripts generated from the backup functionality of Alchemist live at ~/alchemist/backup
. Simply run brew bundle --file path/to/Brewfile
or path/to/restore-choco-packages.bat
to restore your packages.
Usage:
alchemist --update
Options:
--backup
Backup your Homebrew instance.
--update
Update your Homebrew instance.
--force
Forces actions such as backing up even when there are errors. (Brew only)
--greedy
Force updates to casks that have auto-update capabilities in their respective UIs.
# Get a comprehensive list of development tools
just --list