> ## Documentation Index
> Fetch the complete documentation index at: https://docs.postinger.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

> Install the postinger command.

```bash theme={"system"}
npm install -g postinger
```

The CLI needs **Node.js 22** or later. Check it worked:

```bash theme={"system"}
postinger --version
```

Then [log in](https://docs.postinger.dev/cli/authentication.md):

```bash theme={"system"}
postinger login
postinger accounts list
```

## Getting help

Every command describes itself:

```bash theme={"system"}
postinger --help
postinger posts create --help
```

## Global options

| Option | Meaning |
| - | - |
| `--json` | Print the API's JSON instead of tables. See [Output](https://docs.postinger.dev/cli/output.md). |
| `--api-url <url>` | The API to talk to. Defaults to your login's, or `https://api.postinger.dev`. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.