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

# Installation

> Install the Griffin CLI

## Install via npm

```bash theme={null}
npm install -g @griffin-app/griffin
```

After installation, verify it works:

```bash theme={null}
griffin --version
```

## Use without installing

Run any Griffin command with `npx`:

```bash theme={null}
npx @griffin-app/griffin test
```

## Initialize a project

Navigate to your project directory and run:

```bash theme={null}
griffin init
```

This creates a `griffin.json` configuration file in your project root. Griffin uses this to identify the project and track environments.

<Tip>
  Griffin discovers monitor files in `__griffin__/` directories anywhere in your project tree. You can organize monitors alongside the code they test.
</Tip>

## Requirements

* **Node.js** 18 or later
* **npm** 8 or later
* A `__griffin__/` directory containing `.ts` monitor files

## What's next

<Card title="Quickstart" icon="rocket" href="/getting-started/quickstart">
  Write and run your first API monitor.
</Card>
