Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

Apple - Brew cask: I would like to check if the package/formula is already installed through brew or other means

I assume you know the name of the application. Then just test for existence of the application

if [[ ! -d "/Applications/APP-TO-CHECK.app" ]]; then
    # install APP-TO-CHECK
fi 

Tags:

Macos

Homebrew

Install

Related

Apple - $PATH vs. $path Apple - Installing stuff: brew vs. official installer - which one should be used? Apple - Can my employer access my iCloud data if I sync it on my managed Mac Apple - Check battery health on iPad like on iPhone Apple - A software update is required to use this startup disk - does not update Apple - Sync passwords from 2 different iCloud accounts (2 Keychains) Apple - How can I see which macOS version is installed on an external disk, without booting into it? Apple - How do I determine the version of Bluetooth my iPhone supports? Apple - Can you listen to music using AirPods without an Internet connection? Apple - How to upgrade to Big Sur? Apple - Where does Macbook Pro store wifi information? Apple - Upgrade to Big Sur Beta 3 Broke Brew Build system

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy