WARNING: for a modern macOS (2019) this can install python3, and for python2 you really need to do: brew install python@2. Install python3: brew install python3 UPDATE: Python 3. If you install python3, pip will be installed automatically. Brew install python3 NEW 2019: now to use pip version 3, use pip3, or you can execute: python3, to. The Big Mac index. This repository contains the data behind The Economist’s Big Mac index, and code that shows how we calculate it. To download the data, go to the latest release, where you can download the index data in a CSV or Excel, or the code behind it.

For the macOS platform, you can install the Azure CLI with homebrew package manager. Homebrew makes it easy to keep yourinstallation of the CLI update to date. The CLI package has been tested on macOS versions 10.9 and later.

The current version of the Azure CLI is 2.21.0. For information about the latest release, see the release notes. To find your installed version and see if you need to update, run az version.

Install with Homebrew

Homebrew is the easiest way to manage your CLI install. It provides convenient ways to install, update, and uninstall.If you don't have homebrew available on your system, install homebrew before continuing.

You can install the CLI by updating your brew repository information, and then running the install command:


The Azure CLI has a dependency on the Homebrew python3 package, and will install it.The Azure CLI is guaranteed to be compatible with the latest version of python3published on Homebrew.

Mac Os Python3

You can then run the Azure CLI with the az command. To sign in, use az login command.

  1. Run the login command.

    If the CLI can open your default browser, it will do so and load an Azure sign-in page.

    Otherwise, open a browser page at https://aka.ms/devicelogin and enter theauthorization code displayed in your terminal.

    If no web browser is available or the web browser fails to open, use device code flow with az login --use-device-code.

  2. Sign in with your account credentials in the browser.

To learn more about different authentication methods, see Sign in with Azure CLI.


If you encounter a problem when installing the CLI through Homebrew, here are some common errors. If you experience a problem not covered here, file an issue on github.

Completion is not working

The Homebrew formula of Azure CLI installs a completion file named az in the Homebrew-managed completions directory (default location is /usr/local/etc/bash_completion.d/). To enable completion, please follow Homebrew's instructions here.

Unable to find Python or installed packages


There may be a minor version mismatch or other issue during homebrew installation. The CLI doesn't use a Python virtual environment, so it relies on findingthe installed Python version. A possible fix is to install and relink the python3 dependency from Homebrew.

CLI version 1.x is installed

If an out-of-date version was installed, it could be because of a stale homebrew cache. Follow the update instructions.

Proxy blocks connection

You may be unable to get resources from Homebrew unless you have correctly configured it touse your proxy. Follow the Homebrew proxy configuration instructions.


If you are behind a proxy, HTTP_PROXY and HTTPS_PROXY must be set to connect to Azure services with the CLI.If you are not using basic auth, it's recommended to export these variables in your .bashrc file.Always follow your business' security policies and the requirements of your system administrator.

In order to get the bottle resources from Homebrew, your proxy needs to allow HTTPS connections tothe following addresses:

  • https://formulae.brew.sh
  • https://homebrew.bintray.com


The CLI is regularly updated with bug fixes, improvements, new features, and preview functionality. A new release is available roughly everythree weeks.

The CLI provides an in-tool command to update to the latest version: Ragdoll laser dodge&& try the games.


The az upgrade command was added in version 2.11.0 and will not work with versions prior to 2.11.0.

This command will also update all installed extensions by default. For more az upgrade options, please refer to the command reference page.

You can also update your local Homebrew repository information and then upgrade the azure-cli package.


If you decide to uninstall the Azure CLI, we're sorry to see you go. Before you uninstall, use the az feedback command to let us knowwhat could be improved or fixed. Our goal is to make the Azure CLI bug-free and user-friendly. If you found a bug, we'd appreciate it if you file a GitHub issue.

Use homebrew to uninstall the azure-cli package.

Other installation methods

If you can't use homebrew to install the Azure CLI in your environment, it's possible to use the manual instructions for Linux. Note thatthis process is not officially maintained to be compatible with macOS. Using a package manager such as Homebrew is always recommended. Only use the manualinstallation method if you have no other option available.

For the manual installation instructions, see Install Azure CLI on Linux manually.

Next Steps

Now that you've installed the Azure CLI, take a short tour of its features and common commands.

This page provides quick access to various Coral software. However, if you're just getting started, you should follow the appropriate setup guide for your device.

Jump to a section:

Note: The Edge TPU Compiler is available only for Linux, in a Debian package.

Mendel Linux link

To flash your board with Mendel Linux, be sure you download the appropriate image from the following tables, for either the Dev Board or Dev Board Mini.

For information about Mendel changes, see the Mendel release notes.

Dev Board link

The following files include everything you need to flash the Dev Board ('Enterprise') with Mendel Linux.

Starting with the Eagle release, there is also a 'flashcard' image you can flash to a microSD card, which then automatically flashes Mendel onto the board. For instructions using the flashcard image, read Get started with the Dev Board.

For instructions using the other images, see how to flash the Dev Board.

System requirements:

Upgrade To Python 3.8 Mac

  • Coral Dev Board or System-on-Module
ReleasePackageSizeSHA-256 checksum
5.2 Eagle (Feb 2021) enterprise-eagle-20210204152958.zip569 MB enterprise-eagle-20210204152958.sha256
enterprise-eagle-flashcard-20210204152958.zip565 MB enterprise-eagle-flashcard-20210204152958.sha256
5.0 Eagle (Jul 2020) enterprise-eagle-20200724205123.zip547 MB enterprise-eagle-20200724205123.sha256
enterprise-eagle-flashcard-20201208133741.zip572 MBb25f8774a9dccf09ea9ca7c05371bb7e8b0ec14d3d0692d54dd0ca3de6b3f5a2
4.0 Day (Nov 2019) mendel-enterprise-day-13.zip541 MBa21205914e46a75ca5bdc9733260a8b6dc4c001513556fd896089bdcd82b596b
3.0 Chef (Apr 2019) mendel-enterprise-chef-13.zip454 MBdf733fd22de156f324a1b5fc3d03251a732ddbbf0e34bd54286d42a2e79246e5
2.0 Beaker (Mar 2019) mendel-enterprise-beaker-22.zip1.3 GB85a1db9a6d251a38f34fabf808b4ad3c35d7ab413318bee1d70de48bde776486

Dev Board Mini link

The following files include everything you need to flash the Dev Board Mini ('Excelsior') with Mendel Linux. It also includes the enable_lk_fastboot.sh script, which helps put the board into fastboot mode if it fails to boot.

System requirements:

  • Coral Dev Board Mini

For instructions, see how to flash the Dev Board Mini.

ReleasePackageSizeSHA-256 checksum
5.0 Eagle (Dec 2020) excelsior-eagle-20201210233645.zip612 MB excelsior-eagle-20201210233645.sha256
5.0 Eagle (factory) excelsior-eagle-20201113011304.zip818 MB excelsior-eagle-20201113011304.zip.sha256sum

Mendel development tool (MDT) link

Mendel Development Tool (mdt) is a Python-based command-line tool that lets you communicate with a device running Mendel Linux.

You can install it with pip as follows:

For details, see the MDT documentation.

Debian packages link

If you're using a Debian system (including Mendel on Coral boards), we recommend installing all software libraries with these Debian packages, instead of using the other pip or ZIP packages.

If you're on a Debian system other than a Coral board with Mendel, first add our package repos:

Then you can install packages from the below table like this:

Note: When you want to update your Coral libraries, use apt-get upgrade to ensure you get version-compatible builds of everything.
Package nameDescriptionSupported systems1
edgetpu-compilerThe Edge TPU Compiler.

Note: Not available on Coral boards.

  • Debian 10+
  • x86-64
libedgetpu1-maxThe Edge TPU runtime. (Pre-installed on the Dev Board.) The separate versions affect only USB-based devices to determine the operating frequency: libedgetpu1-max runs at the maximum frequency (500 MHz) and libedgetpu1-std runs at the reduced frequency (250 MHz).

For PCIe-based devices, both packages behave the same because the PCIe driver performs dynamic frequency scaling to adjust the operating frequency based on programmable temperature thresholds.

  • Debian 10+, Ubuntu 16.04+, or
    Raspberry Pi OS Buster and newer
  • x86-64 or Armv8 (64-bit)
libedgetpu-devThe edgetpu_c.h and edgetpu.h header files for running inference with C++.
gasket-dkmsCoral driver for PCIe-based Edge TPU devices, such as the M.2 and Mini PCIe Accelerator.
  • Debian 10+ or Ubuntu 16.04+
  • x86-64 or Armv8 (64-bit)
python3-pycoralThe PyCoral API.
Includes a dependency on python3-tflite-runtime and libedgetpu1-std (or libedgetpu1-max).
For code examples, see the GitHub repo.
  • Debian 10+, Ubuntu 16.04+, or
    Raspberry Pi OS Buster and newer
  • x86-64, Armv7 (32-bit), or Armv8 (64-bit)
  • Python 3.6, 3.7, or 3.8
python3-tflite-runtimeThe TensorFlow Lite Python runtime API.
python3-edgetpuThe Edge TPU Python API.
Deprecated. Instead use python3-pycoral.
This depends on a legacy version of libedgetpu1-std that's not compatible with newer libraries.
  • Debian 10+, Ubuntu 16.04+, or
    Raspberry Pi OS Buster and newer
  • x86-64, Armv7 (32-bit), or Armv8 (64-bit)
  • Python 3.6, 3.7, or 3.8
edgetpu-examplesCode examples for the Edge TPU Python API. Saved in /usr/share/edgetpu/examples/.
Deprecated. Instead use python3-pycoral.
This depends on a legacy version of libedgetpu1-std that's not compatible with newer libraries.
python3-coral-cloudiotThe Coral Cloud IoT API.
  • Mendel OS or Raspberry Pi OS
  • Python 3.0+
python3-coral-enviroThe Coral Environmental Board API.

Includes python3-coral-cloudiot.

1 The 'supported systems' are system configurations we currently test, but the packages might work on other similar systems. You can also compile the Edge TPU runtime and Python library for your specific platform using our source code.

Edge TPU runtime link

The following ZIPs include the Edge TPU runtime for macOS and Windows, plus the USB and PCIe drivers required on Windows.

System requirements:

  • Windows 10 or macOS 10.15 Catalina
  • x86-64 system architecture

If you're using Debian Linux (including Mendel), you should instead install the Edge TPU runtime from our Debian packages.

Note: We periodically update the Edge TPU runtime with small changes such as to improve support for different host platforms, but the underlying runtime behavior remains the same. That's why the following table shows multiple ZIP packages with the same runtime version and different dates in the filename.

You should always use the latest runtime, and be sure your models are compiled with the corresponding version of the Edge TPU Compiler.

VersionPackageSizeSHA-256 checksum
13 edgetpu_runtime_20210119.zip17.1 MBb23b2c5a227d7f0e65dcc91585028d27c12e764f8ce4c4db3f114be4a49af3ae
edgetpu_runtime_20201204.zip17.1 MB5a490f1cb26a40c6582019a734836239a96f0b06813df98166e0aff219073ac7
edgetpu_runtime_20201105.zip17.1 MB65c6e876030a89a25c011cda7afe5c2820d40ec6f4dee8c86d70c1ae0b8d74bb
edgetpu_runtime_20200728.zip16.8 MBf5e1dfd26c37641a4c8eca61f9236e31c355302e5a75c81c690626e777fff67a
edgetpu_runtime_20200331.zip16.6 MB8742039d19715c3274152fe144f1be1f0b3f1dda2e5d605ce90cdac47fc95b28
edgetpu_runtime_20200128.zip16.6 MBf98857a43f718d129dd6c1565358a71c8e8008d7947332b488c160c756d5d4ad
12 edgetpu_runtime_20190920.tar.gz2.8 MB111c1cef3d8079f5ee9ac8c3cd3ec0822f4a784bc8c8aa4a4affe67d3a6b72a4

Also see the Edge TPU runtime release notes.

PyCoral API link

The following Python wheels are for the PyCoral API.

If you're using Debian Linux (including Mendel), you should install this from our Debian package:

On other systems, you can install with pip:

Also be sure you have the latest version of the Edge TPU runtime.

macOS 10.153.5https://github.com/google-coral/pycoral/releases/download/release-frogfish/pycoral-1.0.0-cp35-cp35m-macosx_10_15_x86_64.whl
Windows 103.5https://github.com/google-coral/pycoral/releases/download/release-frogfish/pycoral-1.0.0-cp35-cp35m-win_amd64.whl
Linux x86 (64-bit)3.5https://github.com/google-coral/pycoral/releases/download/release-frogfish/pycoral-1.0.0-cp35-cp35m-linux_x86_64.whl
Linux Armv8 (64-bit)3.5https://github.com/google-coral/pycoral/releases/download/release-frogfish/pycoral-1.0.0-cp35-cp35m-linux_aarch64.whl
Linux Armv7 (32-bit)3.5https://github.com/google-coral/pycoral/releases/download/release-frogfish/pycoral-1.0.0-cp35-cp35m-linux_armv7l.whl

Pre-compiled models link

For demonstration and experimentation purposes, you can download and run one of several pre-compiled models that are compatible with the Edge TPU.

Legacy packages link

The following packages are here for archival purposes only.

ReleasePackageSizeSHA-256 checksum
2.12.1 (Sep 2019) edgetpu_runtime_20190920.tar.gz2.8 MB111c1cef3d8079f5ee9ac8c3cd3ec0822f4a784bc8c8aa4a4affe67d3a6b72a4
edgetpu-2.12.1-py3-none-any.whl8.6 MB7f5d9abfe429f1ae063259198d665690e655b1459eff3c3bfaf19a8fe62d12ae
2.11.1 (Jul 2019) edgetpu_api_2.11.1.tar.gz5.1 MB6067fcc921423c3dc23e1bc12186e42ff954eada50b44826b2167700b50dc69e
1.9.2 (Apr 2019) edgetpu_api_1.9.2.tar.gz8.3 MB82324ac028fda707926b756cc97430c8d7f5ffa39940ba74d373de7d9dc90c86
Beta (Mar 2019) edgetpu_api.tar.gz31.8 MB52e29f89481e935a9ce2beb0bdafc0495a60f74ef89aa220ddd1142e27adb23e

Edge TPU Python API link

This API is deprecated: Instead try the Coral Python API.
macOS 10.153.5https://dl.google.com/coral/edgetpu_api/edgetpu-2.14.0-cp35-cp35m-macosx_10_14_x86_64.whl
Windows 103.5https://dl.google.com/coral/edgetpu_api/edgetpu-2.14.0-cp35-cp35m-win_amd64.whl
Generic Linux3.Xhttps://dl.google.com/coral/edgetpu_api/edgetpu-2.14.1-py3-none-any.whl

Source code link

To enable the advancement of edge ML technology and allow for expanded platform compatibility, we're proud to share the source code for the following Coral components:

Mac Update Python 3

  • Mendel Linux

    To build Mendel, see the Getting Started guide.

  • Edge TPU runtime (libedgetpu)
  • Libcoral API (C++)
  • PyCoral API (Python)

Mac Update Python Version

You might also be interested in the TensorFlow source code.