Code Monkey home page Code Monkey logo

mac-setup-scripts's Introduction

macOS Setup Scripts

Scripts for setting up & maintaining a consistent macOS environment with desired apps & packages.

Files

  • brew-installs.sh: Script to install casks & packages from Homebrew. Designed to be run many times as things are added or removed. Also does optional updating & cleanup tasks.
  • casks.sh & packages.sh: lists of Homebrew casks & packages to install via brew-installs.sh.
  • first-time.sh: Script intended for initialization after ./brew-installs.sh has been run once. Designed to only be run once.

Usage

When using for first time, run:

> ./brew-installs.sh
> ./first-time.sh

Afterwards, simply run:

> ./brew-installs.sh

TODOs

  • Consider creating script that compares list of casks to install in brew-installs.sh to list of applications in /Applications & outputs diff to console output. Use case here is to very quickly check what apps are managed via brew, & which aren't (can create some sort of "ignore" list to not print out obviously non-brew apps, e.g. "App Store", "Calculator", "Messages"), which might be useful when bootstrapping new machine.
  • Revisit the need for first-time.sh. Specifically, seems like a convoluted use-case given that brew-installs.sh is something that is continually updated & re-ran as packages are added.
  • Figure out how to add other parts of jekyll installation in first-time.sh, e.g. running gem install jekyll automatically, figuring out if sudo is needed, etc.
    • Also, per this & this, it appears that I need to run gem install webrick to get everything working.
    • Also note that if gems were installed accidentally before running source ~/.zshrc (i.e. installed for old ruby version), then they need to be deleted to avoid some errors. Did this by running rm -rf ~/.gem/ruby/2.6.0.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.