# dn-renew

Extends a domain's registration period using the dn CLI (partner mode only).

Skill by Automattic. Category: Shipping and ops.

## Install

Project (for this project only):

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

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-renew -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-renew)

## Source

[Open the source](https://github.com/automattic/dn-cli/tree/HEAD/skills/dn-renew). 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-renew
description: Renew a domain registration using the dn CLI. Use when the user wants to extend a domain's registration period. Partner mode only - user mode redirects to WordPress.com.
---

# dn renew

Renew a domain registration.

## Usage

```bash
# Interactive (prompts for expiration year)
dn renew example.com

# Non-interactive
dn renew example.com --expiration-year=2025 --period=1

# Premium domain renewal
dn renew premium.com --expiration-year=2025 --fee=15.99
```

## Options

| Option | Description |
|--------|-------------|
| `--period`, `-p` | Renewal period in years (default: 1) |
| `--expiration-year` | Current expiration year (required, prompted if missing) |
| `--fee` | Fee amount for premium domains |

## Notes

- **Partner mode only** - user mode shows redirect to `wordpress.com/domains/manage`
- The `--expiration-year` is the domain's current expiration year, not the desired new one
- Use `dn info <domain>` first to check the current expiration date
````

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