How to install Microsoft Teams on Mac using Terminal (Silently)


If you are a developer or an admin and want to install the Microsoft Teams application on a Mac (Macbook) using Terminal in a silent way, then you can make use of the brew cask command.

Note: As a prerequisite you should have homebrew installed on your Intel/M1/M2 based Mac.

How to install Homebrew on Mac

Below are the steps to install Teams using Mac Terminal.

  • Open Terminal Application on your Mac.
  • Now run the below command to install Teams.
    brew install --cask microsoft-teams

    Installation Logs:

    ==> Downloading https://formulae.brew.sh/api/cask.jws.json
    ####### 100.0%
    ==> Downloading https://statics.teams.cdn.office.net/production-osx/1.6.00.24065/Teams_osx.pkg
    ####### 100.0%
    ==> Installing Cask microsoft-teams
    ==> Running installer for microsoft-teams; your password may be necessary.
    Package installers may write to any location; options such as `--appdir` are ignored.
    Password:
    installer: Package name is Microsoft Teams
    installer: Installing at base path /
    installer: The install was successful.
    
    🍺  microsoft-teams was successfully installed!

Installing Microsoft Teams on Mac using Terminal
Microsoft Teams Welcome Screen on Mac

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org

Copyright Β© Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap