# Installation

The Grafbase CLI is the command line tool that allows you to interact with the Grafbase platform. It is a powerful tool that allows you to perform operations to your federated graph, trusted documents, and more. To install the Grafbase CLI, run the following command:

```bash
curl -fsSL https://grafbase.com/downloads/cli | bash
```

or, to install a specific version:

```bash
curl -fsSL https://grafbase.com/downloads/cli | bash -s 0.86.1
```

Alternatively, you can install the Grafbase CLI using NPM:

```bash
npm install grafbase
```

Or, in GitHub Actions, with the [install-grafbase-cli action](https://github.com/grafbase/install-grafbase-cli):

```yaml
- name: Install the Grafbase CLI
  uses: grafbase/install-grafbase-cli@v1
```