# setup

Checks that the dn CLI is installed and working, and points you to the next step if it is not.

Skill by Automattic. Category: Shipping and ops.

## Install

Project (for this project only):

```sh
npx skills add automattic/dn-cli --skill setup
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

Global (for every project on this machine):

```sh
npx skills add automattic/dn-cli --skill setup -g
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

## Tags

- Runs on your computer: It runs as a program on your machine, with your access.

## Security audits

- Gen Agent Trust Hub: Pass
- Socket: Pass
- Snyk: Pass

Installs: 5. Installs counted by skills.sh. [Open on skills.sh](https://www.skills.sh/automattic/dn-cli/setup)

## Source

[Open the source](https://github.com/automattic/dn-cli/tree/HEAD/skills/setup). Checked 2026-10-10. This summary may contain AI-generated text, so it can be wrong. Check the source before you rely on it.

## SKILL.md

````markdown
---
name: setup
description: Verify that the dn CLI is installed and configured. Use when the user first installs the domain-names plugin, or when a dn command fails because the CLI is missing or not set up.
---

# Setup

Check that the dn CLI is ready to use.

## Steps

1. Run `which dn` to check if the CLI is on PATH.
2. If `dn` is not found:
   - Tell the user to install it: `composer global require automattic/dn-cli`
   - Remind them that `~/.composer/vendor/bin` (or `~/.config/composer/vendor/bin`) must be in their PATH
   - Stop here until they install it
3. If `dn` is found, run `dn list` to verify it works.
4. If the output looks normal, tell the user they're ready and can run `dn configure` to set up credentials (or `/domain-names:dn-configure` for guided setup).
````

- Previous: [multi-session](https://syn4pse.dev/terminal/deepgram-multi-session.md)
- Next: [visual-feedback](https://syn4pse.dev/terminal/deepgram-visual-feedback.md)
- [Terminal](https://syn4pse.dev/terminal.md)
- [Suggest a change](mailto:terminal@syn4pse.dev?subject=Terminal%20suggestion)
