# dn-reset

Deletes the saved dn CLI configuration and credentials so you can start fresh or switch modes.

Skill by Automattic. Category: Security.

## Install

Project (for this project only):

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

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 dn-reset -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/dn-reset)

## Source

[Open the source](https://github.com/automattic/dn-cli/tree/HEAD/skills/dn-reset). 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: dn-reset
description: Remove stored dn CLI configuration and credentials. Use when the user wants to clear their saved credentials, start fresh, or switch between authentication modes. Does not require existing configuration.
---

# dn reset

Remove all stored configuration and credentials.

## Usage

```bash
# Interactive (confirmation prompt, default: No)
dn reset

# Skip confirmation
dn reset --force
```

## Options

| Option | Description |
|--------|-------------|
| `--force`, `-f` | Skip confirmation prompt |

## Notes

- Deletes `~/.config/dn/config.json`
- Shows "No configuration found" if already clean
- After reset, run `dn configure` to set up new credentials
- Does not require existing configuration to run
````

- Previous: [dn-renew](https://syn4pse.dev/terminal/automattic-dn-renew.md)
- Next: [dn-restore](https://syn4pse.dev/terminal/automattic-dn-restore.md)
- [Terminal](https://syn4pse.dev/terminal.md)
- [Suggest a change](mailto:terminal@syn4pse.dev?subject=Terminal%20suggestion)
