> For the complete documentation index, see [llms.txt](https://deepakrajas-organization.gitbook.io/aptos-move-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://deepakrajas-organization.gitbook.io/aptos-move-docs/getting-started/installation-aptos-cli/install-the-aptos-cli-on-mac.md).

# Install the Aptos CLI on Mac

For Mac, the easiest way to install the Aptos CLI is with the package manager `brew`.

## Installation

#### Ensure you have `brew` installed <https://brew.sh/>. <a href="#ensure-you-have-brew-installed-httpsbrewsh" id="ensure-you-have-brew-installed-httpsbrewsh"></a>

#### Open a new terminal and enter the following commands. <a href="#open-a-new-terminal-and-enter-the-following-commands" id="open-a-new-terminal-and-enter-the-following-commands"></a>

```
brew updatebrew install aptos
```

#### Open another terminal and run `aptos help` to verify the CLI is installed. <a href="#open-another-terminal-and-run-aptos-help-to-verify-the-cli-is-installed" id="open-another-terminal-and-run-aptos-help-to-verify-the-cli-is-installed"></a>

```
aptos help
```

⚠️

If `brew` does not work for you, you can try the steps here: [Install Specific Aptos CLI Versions (Advanced)](https://aptos.dev/en/build/cli/install-cli/install-cli-specific-version)

## Upgrading the CLI

Upgrading the CLI with brew just takes 2 commands:

```
brew updatebrew upgrade aptos
```

<br>
