As a developer, we all tend to work a lot on the Terminal, and it's much easier to open an application via the Terminal. If you want to open Android Studio from the Terminal, you can make use of the open command followed by the path of the app from the Applications folder.
Example:open -a /Applications/Android\ Studio.app

If you frequently open this app via the terminal, more easier way is to create an alias for this command and store it in .zshrc/bash_profile file.
Open ~/.zshrc file and create an alias.
nano ~/.zshrc
Add the below lines,
alias android-studio='open -a /Applications/Android\ Studio.app'
Now it makes it much easier, all you need to do is type in android-studio in the Terminal and you have the app open!
Have Questions? Post them here!
- How to find path of file on Mac Terminal
- How to disable Siri on Mac Monterey
- [fix] macOS Ventura xcrun: error: invalid active developer path missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
- Select Line Number TextEdit on Mac
- Go to Specific file path using Mac Finder
- How to find Java HOME in Mac Terminal
- bash: command not found error [macOS Terminal Linux, Unix or Windows]
- Must Know Homebrew Commands for Mac/Linux Users
- How to Insert an Inverted Question Mark on Mac ¿
- Hide Keyboard Text Input Icon on macOS Ventura Menu Bar
- How to make macOS Terminal window Transparent (or Opaque)
- How to check of Updates on Microsoft Edge Browser on Mac (macOS)
- Limit scrollback rows in macOS Terminal
- How to identify installed Java (JDK) Version on macOS
- Keyboard Shortcut to delete a file on a Mac [Macbook]
- Open Docker from Terminal Command on Mac
- Installing MongoDB on Linux/Unix/macOS/Ubuntu
- How to take a screenshot on a Mac - updated for Ventura 13 [updated 2023]
- ls: .: Operation not permitted - Mac Terminal ZSH Error
- How to remove username from Mac Menu Bar?
- macOS Ventura XCode Command Line Tools Installation
- Where is .zshrc file located in macOS
- How to Show Path of Files or App in Mac Spotlight Search
- How to enable root user on Mac Terminal
- Install Java 17 (LTS) JDK on ARM based M1/M2 Mac Natively
- [Vi/Vim] How to move cursor to the start of a line - MacOS
- Multiple Microsoft 365 Services Down (Outlook, Teams, SharePoint, OneDrive) - 25 January 2023 (Solved) - Microsoft
- How to Generate Self-Signed OpenSSL certificate in three easy steps - HowTos
- Java Jackson ObjectMapper Class with Examples - Java
- How to initiate a photo request on iPhone from Mac Monterey - iOS
- Setting Java_Home Environment variable on Windows Operating System - Java
- Java JDBC: Insert Java 8 LocalDate and Time using PreparedStatement - Java
- Twitch chat down, error loading data, content unavailable, streaming problem - News