---
description: This is a step-by-step guide to installing Stakpak CLI on MacOS.
---

# Installation on MacOS

Installing Stakpak is as easy as running one command

```
curl -sSL https://stakpak.dev/install.sh | sh
```

<figure><img src="https://2684022488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOFDKnFMEMmJjoclGx9Hr%2Fuploads%2FErpdJVsMF1TkZJEuRfKC%2Fimage.png?alt=media&#x26;token=8a0e7be5-471e-4f0c-8966-8e849793df77" alt=""><figcaption></figcaption></figure>

* Press Y to proceed with installation

<figure><img src="https://2684022488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOFDKnFMEMmJjoclGx9Hr%2Fuploads%2F41MMEfWxuJujP0svbLMz%2Fimage.png?alt=media&#x26;token=e07caa5e-5679-4f6f-bd6e-ae36eb6ed49d" alt=""><figcaption></figcaption></figure>

* Press Y to  use [Homebrew](https://brew.sh/) for installation

Then it will automatically open the browser and check if you are signed in, if not then you will be redirected to sign in/register.

<figure><img src="https://2684022488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOFDKnFMEMmJjoclGx9Hr%2Fuploads%2FHTXRmQbSWOBxAOjmzUmG%2Fimage.png?alt=media&#x26;token=47d057b8-cc87-4ea6-9ad8-cd509cf3efab" alt=""><figcaption></figcaption></figure>

Then you will be redirected to the api key page, and it will be copied automatically and sent to your terminal

<figure><img src="https://2684022488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOFDKnFMEMmJjoclGx9Hr%2Fuploads%2FEPuCxxtCkH9kkzaBPIvZ%2Fimage.png?alt=media&#x26;token=695e52cb-0a39-443f-81d1-9303b4eebcdf" alt=""><figcaption></figcaption></figure>

No, you can close your browser

That's it, we are ready to use Stakpak🥳

<figure><img src="https://2684022488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOFDKnFMEMmJjoclGx9Hr%2Fuploads%2FuW0D7ulc8JGUxkGzcvsl%2FGroup%201334.png?alt=media&#x26;token=ce0e1637-6115-408d-a2ca-d7224b9bbdd5" alt=""><figcaption></figcaption></figure>

## Frequently Asked Questions (Q\&A)

### How to update Stakpak?

To update Stakpak to the latest version, just open your terminal and write `stakpak update`
