A convenient solution for backing up and restoring your installed packages. This tool offers the portability of your current installed packages and utilizes your GitHub account as a data store for maintaining a record of your packages for future use.
- Moving to a brand new device (MacOs, Linux)
- Duplicating your Homebrew/Macports/Nix setup across different devices
- MacOs
- Linux
brew install liopun/brew/prp
The latest release of PRP CLI tool can be found here, and it must be in your PATH for effective usage.
- Clone this repository
- Build with
make build ver="v0.15" - Run
./.dist/prp -hor Copyprpfile to your$PATHand use it from there.
- Run the following command to authenticate with Github
prp gh TOKEN_HERE - You can find out more information about Github personal tokens here
- Homebrew
- Backup your current Homebrew packages:
prp brew - Restore/Install your previously saved Homebrew packages to another system:
prp restore brew
- Backup your current Homebrew packages:
- Macports
- Backup your current Macports packages:
prp port - Restore/Install your previously saved Macports packages to another system:
prp restore port
- Backup your current Macports packages:
- NixOS
- Backup your current NixOs packages:
prp nix - Restore/Install your previously saved NixOs packages to another system:
prp restore nix
- Backup your current NixOs packages:
- Support more package managers
- macports [x]
- nix [x]
- pkgsrc
- Clone this repository
- Add your branch
git checkout -b BRANCH_NAME_HERE main - Fetch dependencies
go mod download - Implement your changes
- Run
make build ver="v0.16"to build the project - Happy hacking!
make release ver="v0.16"