Automate Brew, MacOS, and NPM Packages. Fork and customize!
Перейти к файлу
Wade Wegner 2bf3144412
Update Brewfile
2021-01-26 17:04:48 -08:00
powerline-fonts Adding Powerline font folder 2020-04-24 10:06:04 -07:00
python Added mongodb cask 2019-09-26 16:50:05 -07:00
.bash_profile Add powershell alias 2019-04-24 08:56:31 -07:00
.gitconfig Added --wait flag for .gitconfig 2019-04-10 23:16:51 -07:00
.zshrc Update zshrc and Brewfile 2020-03-30 15:34:42 -07:00
Brewfile Update Brewfile 2021-01-26 17:04:48 -08:00
Dan-iterm.json added iterm profile 2020-01-29 11:38:01 -08:00
LICENSE
README.md Update readme.md 2020-03-30 22:45:16 -07:00
brew.sh List installed dependencies 2019-04-05 13:07:35 -07:00
macos.sh Added comments for execute permissions 2019-04-03 15:34:00 -07:00
npminstall.sh Update zshrc and Brewfile 2020-03-30 15:34:42 -07:00
ohmyz.sh added iterm profile 2020-01-29 11:38:01 -08:00
package-lock.json Updated NPM / Python packages 2019-04-10 23:03:08 -07:00
pipinstall.sh List installed dependencies 2019-04-05 13:07:35 -07:00

README.md

Automate MacOS Setup

Simple project to automate Brew, MacOS, and NPM Packages.

  • .bash_profile: Profile with handy command aliases and customization
  • .gitconfig: Configures git to use osxkeychain credential helper and sets custom colors
  • Brewfile: List of CLI tools (brew install {name}) and apps (brew cask install {name}) to install.
  • brew.sh: Script to install Brew and all apps in the Brewfile file
  • macos.sh: Script for better MacOS defaults
  • npminstall.sh: Script to install common NPM utilities

Get Started

  1. Clone the project locally (or fork)
> git clone https://github.com/thedanfernandez/Automate-MacOS-Setup.git
  1. Open Brewfile to add/edit/comment out CLI tools or apps. Use # to comment out or delete.
cask "postman"                              # REST-API tool
cask "skype"                                # Skype client
# cask "slack"                              # Slack client
cask "spectacle"                            # Windows like move / resize windows

You can run brew bundle list to confirm your Brewfile is configured correctly

> brew bundle list
  1. Ensure any .sh files have execute permissions if needed
> chmod +x brew.sh
  1. Open the terminal and run the scripts (ensure you put "./" as a prefix to the )
> ./brew.sh

Note: npminstall.sh expects NPM to be installed and must run as sudo if packages are installed globally (-g) flag.

> sudo ./npminstall.sh

mas or the Mac App Store command line

Brew can work to restore Apps you purchased in the app store. Unfortunately it will fail if the app has not been installed at least once. More information: Mac App Store GitHub project.

.gitconfig and .bash_profile

Add / edit configuration from .gitconfig and .bash_profile and add to your $HOME directory

Setup zsh

Assuming you are using zsh, you can run ohmyz.sh to install and copy ".zshrc" to your user directory.

> chmod +x ohmyz.sh

Resources