From be772deb931404f534d424d041636ac7085e01b9 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 20 Oct 2025 21:12:18 +0000 Subject: [PATCH] Update setup script to ensure all apps stay up to date MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Updated Homebrew installation to use current bash script instead of deprecated Ruby method - Replaced all deprecated 'brew cask install' commands with 'brew install --cask' - Updated tap references: caskroom/fonts -> homebrew/cask-fonts - Added 'brew upgrade --cask --greedy' to upgrade all cask applications including auto-updating ones - Added 'mas upgrade' to upgrade Mac App Store applications - Removed deprecated 'brew linkapps' command (no longer needed) - Removed '--with-default-names' flag from grep install (no longer supported) - Updated Python pip commands to use 'python3 -m pip' for better reliability - Removed Limechat from mas installs (no longer available in App Store) - Commented out Google Play Music Player (service discontinued) - Reordered brew update/upgrade for correct sequence 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- setup.sh | 103 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 52 insertions(+), 51 deletions(-) diff --git a/setup.sh b/setup.sh index d8c804b..f6c18c5 100755 --- a/setup.sh +++ b/setup.sh @@ -82,13 +82,13 @@ echo "Installing brew..." if test ! $(which brew) then ## Don't prompt for confirmation when installing homebrew - /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null + NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" fi -# Latest brew, install brew cask -brew upgrade +# Update brew and upgrade all packages brew update -brew tap caskroom/cask +brew upgrade +brew upgrade --cask --greedy ############################################# @@ -162,7 +162,7 @@ echo "Starting brew app install..." ### Window Management # Todo: Try Divvy and spectacles in the future -brew cask install sizeup # window manager +brew install --cask sizeup # window manager # Start SizeUp at login defaults write com.irradiatedsoftware.SizeUp StartAtLogin -bool true @@ -172,13 +172,13 @@ defaults write com.irradiatedsoftware.SizeUp ShowPrefsOnNextStart -bool false ### Developer Tools -brew cask install iterm2 -brew cask install dash +brew install --cask iterm2 +brew install --cask dash brew install ispell ### Development -brew cask install docker +brew install --cask docker brew install postgresql brew install redis @@ -191,7 +191,7 @@ brew install zsh # zshell brew install tmux brew install tree brew link curl --force -brew install grep --with-default-names +brew install grep brew install trash # move to osx trash instead of rm brew install less @@ -203,72 +203,72 @@ brew install pyenv ### Microcontrollers & Electronics brew install avrdude -brew cask install arduino +brew install --cask arduino # Manually install teensyduino from: # https://www.pjrc.com/teensy/td_download.html ### Dev Editors -brew cask install visual-studio-code -brew cask install pycharm +brew install --cask visual-studio-code +brew install --cask pycharm ### spacemacs github.com/syl20bnr/spacemacs git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d brew tap d12frosted/emacs-plus brew install emacs-plus --HEAD --with-natural-title-bars -brew linkapps emacs-plus ### Writing -brew cask install evernote -brew cask install macdown -brew cask install notion +brew install --cask evernote +brew install --cask macdown +brew install --cask notion ### Conferences, Blogging, Screencasts -brew cask install deckset -brew cask install ImageOptim # for optimizing images -brew cask install screenflow +brew install --cask deckset +brew install --cask ImageOptim # for optimizing images +brew install --cask screenflow ### Productivity -brew cask install wavebox -brew cask install google-chrome -brew cask install alfred -brew cask install dropbox +brew install --cask wavebox +brew install --cask google-chrome +brew install --cask alfred +brew install --cask dropbox -brew cask install timing # time and project tracker -brew cask install keycastr # show key presses on screen (for gifs & screencasts) -brew cask install betterzip -brew cask install caffeine # keep computer from sleeping -brew cask install skitch # app to annotate screenshots -brew cask install muzzle -brew cask install flux +brew install --cask timing # time and project tracker +brew install --cask keycastr # show key presses on screen (for gifs & screencasts) +brew install --cask betterzip +brew install --cask caffeine # keep computer from sleeping +brew install --cask skitch # app to annotate screenshots +brew install --cask muzzle +brew install --cask flux ### Keyboard & Mouse -brew cask install karabiner-elements # remap keys, emacs shortcuts -brew cask install scroll-reverser # allow natural scroll for trackpad, not for mouse +brew install --cask karabiner-elements # remap keys, emacs shortcuts +brew install --cask scroll-reverser # allow natural scroll for trackpad, not for mouse ### Quicklook plugins https://github.com/sindresorhus/quick-look-plugins -brew cask install qlcolorcode # syntax highlighting in preview -brew cask install qlstephen # preview plaintext files without extension -brew cask install qlmarkdown # preview markdown files -brew cask install quicklook-json # preview json files -brew cask install epubquicklook # preview epubs, make nice icons -brew cask install quicklook-csv # preview csvs +brew install --cask qlcolorcode # syntax highlighting in preview +brew install --cask qlstephen # preview plaintext files without extension +brew install --cask qlmarkdown # preview markdown files +brew install --cask quicklook-json # preview json files +brew install --cask epubquicklook # preview epubs, make nice icons +brew install --cask quicklook-csv # preview csvs ### Chat / Video Conference -brew cask install slack -brew cask install microsoft-teams -brew cask install zoomus -brew cask install signal +brew install --cask slack +brew install --cask microsoft-teams +brew install --cask zoomus +brew install --cask signal ### Music and Video -brew cask install marshallofsound-google-play-music-player -brew cask install vlc +# Note: Google Play Music was discontinued. Consider alternatives like YouTube Music, Spotify, etc. +# brew install --cask marshallofsound-google-play-music-player +brew install --cask vlc ### Run Brew Cleanup @@ -281,11 +281,11 @@ brew cleanup echo "Installing fonts..." -brew tap caskroom/fonts +brew tap homebrew/cask-fonts ### programming fonts -brew cask install font-fira-mono-for-powerline -brew cask install font-fira-code +brew install --cask font-fira-mono-for-powerline +brew install --cask font-fira-code ### SourceCodePro + Powerline + Awesome Regular (for powerlevel 9k terminal icons) cd ~/Library/Fonts && { curl -O 'https://github.com/Falkor/dotfiles/blob/master/fonts/SourceCodePro+Powerline+Awesome+Regular.ttf?raw=true' ; cd -; } @@ -310,11 +310,12 @@ echo "Is app store login complete.(y/n)? " read response if [ "$response" != "${response#[Yy]}" ] then + # Upgrade any already-installed apps + mas upgrade mas install 907364780 # Tomato One - Pomodoro timer mas install 485812721 # Tweetdeck mas install 668208984 # GIPHY Capture. The GIF Maker (For recording my screen as gif) mas install 1351639930 # Gifski, convert videos to gifs - mas install 414030210 # Limechat, IRC app. else cecho "App Store login not complete. Skipping installing App Store Apps" $red fi @@ -326,9 +327,9 @@ fi echo "Installing global Python packages..." -pip3 install --upgrade pip -pip3 install --user pylint -pip3 install --user flake8 +python3 -m pip install --upgrade pip +python3 -m pip install --user pylint +python3 -m pip install --user flake8 #############################################