# A preset isn't installed

What "the preset that axle.toml extends isn't installed" means and how to fix it.

```text
error: the preset @acme/axle-preset that axle.toml:1 extends isn't installed
hint: Add @acme/axle-preset to the repository's devDependencies and install it with the package manager, or fix the name in extends.
```

## Why it happens

`extends` names a package, and Axle found no folder with that name in `node_modules` at the repository root or above it. Usually the packages aren't installed yet, or the preset isn't a dependency of the repository.

## How to fix it

Add the preset to the root `package.json` as a dev dependency:

```sh
pnpm add -D @acme/axle-preset                   # pnpm
npm install -D @acme/axle-preset                # npm
yarn add -D @acme/axle-preset                   # Yarn
bun add --dev @acme/axle-preset                 # Bun
nub add -D @acme/axle-preset                    # nub
aube add -D @acme/axle-preset                   # aube
```

A path to a file in the repository has to start with `.`, such as `./config/axle.base.toml`; otherwise Axle looks for a package.
