NOTE: This repository is archived because I developed a more efficient installer in my .dotfiles repository.
An installer for Pandoks_'s macOS applications and settings.
- macOS only
- zsh as default shell
- signed into Apple ID
To use the installer, run the following from the terminal.
git clone https://github.com/Pandoks/mac.git
cd mac
./install
NOTE: If this is the first command to ever run in your terminal (fresh install of macOS), you may need to install command line developer tools. Run the above commands and you will be prompted to install the tools. Then run the code again after installation.
Troubleshooting: Only run install
inside of the mac
directory.
This is similar to verbose flags for command line interfaces. If you answer y
to the question Do you want to be prompted about what is being installed [y/n]?
, you will be asked a prompt for each step of the installation. If you answer n
, it will automatically install everything without prompting you what is being installed. You can use ctrl+c
to cancel the install at any time.
This installation option will run all other installations at once.
See: Clean Installation, Application Installation, Preference Installation for more information.
This installation option will only install Homebrew with no formulae or casks and Pandoks_'s terminal setup (Oh-My-Zsh, powerlevel10k, and Pandoks_'s Python modules).
This installation option will install all of Pandoks_'s Homebrew formulae and casks, and App Store apps using mas in addition to the installations made in the Clean Installation option.
Troubleshooting: You must be logged into your Apple ID for a successful App Store app installation
This installation option will install all of Pandoks_'s vim, tmux (oh-my-tmux), zsh, and hammerspoon settings. In addition, you will be asked if you want to add Github API tokens or sshpass aliases to your .zshrc
file. If yes, you will be asked to enter the information needed and it will automatically add it to your .zshrc
file. You will also be asked if you want to add any hot key bindings for hammerspoon to load. If yes, you will be asked to enter the information needed and it will automatically add it to your init.lua
file.
The syntax used for the .txt
files in the subdirectories of preferences
is quite simple. Lines that are blank or contain #
anywhere will be ignored. Everything else will be processed for installation.
NOTE: Feel free to add .txt
files. The installer will detect them.
Each application in the Mac App Store has a product identifier which is used for installation. There are two ways of finding a product identifier:
- Find the product identifier from the share link in the App Store
- Use
mas search
After finding the product identifier for the app you want, add it to a new or existing .txt
file in the appStore directory.
Troubleshooting: You must be logged into your Apple ID for a successful App Store app installation
Find the name of the formula or cask. There are two ways of finding the name:
- Use
brew search
(Recommended: this is the preferred method of finding formulae or casks since it is always updated) - Search it up on https://brew.sh/ (The website may not show an available formula or cask)
After finding the name of the package you want to install, if it is a formula, add it to a new or existing .txt
file in the homebrewFormulae directory; but if it is a cask, add it to a new or existing .txt
file in the homebrewCasks directory.
Find the package you want to install on PyPi.
After finding a Python module you want to install, add it to a new or existing .txt
file in the python directory.
Wanna see some speed? Multi-threaded downloads will make multiple installations parallel.
Wanna access the installer at any time? Type in a command in the terminal to access the application like any other command line interface application.
Don't want to manually edit the preference files? Saving will allow you to generate the files by detecting all of your downloads.
Letting the rustaceans take over 🦀