<BlockSwitcher>

<Block name="NPM">

```bash
npm install -g @aws-amplify/cli
```

</Block>

<Block name="cURL (Mac and Linux)">

```bash
curl -sL https://aws-amplify.github.io/amplify-cli/install | bash && $SHELL
```

</Block>

<Block name="cURL (Windows)">

```bash
curl -sL https://aws-amplify.github.io/amplify-cli/install-win -o install.cmd && install.cmd
```

</Block>

</BlockSwitcher>

<Callout warning>

[Resolve `EACCES` permissions when installing packages globally](https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally) with npm

</Callout>