mirror of
https://github.com/jakejarvis/dotfiles.git
synced 2025-04-26 03:45:21 -04:00
Update macos.sh
This commit is contained in:
parent
61954c875c
commit
c4013f2ebc
@ -8,6 +8,11 @@ fi
|
||||
# Make sure macOS is fully up to date before doing anything
|
||||
sudo softwareupdate --install --all
|
||||
|
||||
# Install Xcode Command Line Tools
|
||||
sudo xcode-select --install
|
||||
# Accept Xcode license
|
||||
sudo xcodebuild -license accept
|
||||
|
||||
# This whole thing kinda hinges on having Homebrew...
|
||||
# Check for it and install from GitHub if it's not there
|
||||
# shellcheck disable=SC2230
|
||||
@ -26,11 +31,6 @@ brew update
|
||||
brew tap homebrew/bundle
|
||||
brew bundle
|
||||
|
||||
# Install Xcode Command Line Tools
|
||||
sudo xcode-select --install
|
||||
# Accept Xcode license
|
||||
sudo xcodebuild -license accept
|
||||
|
||||
# Set macOS defaults
|
||||
# Needs to be last since this will restart everything when done
|
||||
# shellcheck disable=SC1091
|
||||
|
Loading…
x
Reference in New Issue
Block a user