Documentation
CLI/doctor

renamed doctor

Diagnose your setup. Checks Node.js version, network connectivity, authentication status, and API access.

renamed doctor [options]

The doctor command runs a comprehensive system check to ensure everything is configured correctly. Run this first if you're having issues.

What It Checks

Node.js version — Verifies you have a compatible Node.js version installed.

Network connectivity — Tests connection to the renamed.to API servers.

Authentication status — Checks if you're logged in and credentials are valid.

Token validity — Verifies your auth token hasn't expired.

API access — Confirms you can make API calls successfully.

Example

$ renamed doctor

 Node.js v20.10.0
 Network: connected to api.renamed.to
 Authenticated as alex@example.com
 Token valid (expires in 29 days)
 API access: OK

All checks passed!

Verbose Mode

Get detailed diagnostic information:

$ renamed doctor --verbose

System Information:
 OS: darwin arm64
 Node: v20.10.0
 CLI: v1.2.3

Authentication:
 User: alex@example.com
 Token: valid
 Expires: 2026-02-08
 Credits: 847

Network:
 API: https://api.renamed.to
 Latency: 42ms

Options

--verbose

Show detailed system information and diagnostic data.

Troubleshooting

Node.js version error — Update Node.js to v18 or later. We recommend using nvm to manage versions.

Network error — Check your internet connection. If you're behind a proxy, ensure it's configured correctly.

Authentication error — Run renamed auth login to re-authenticate.

Token expired — Your token should refresh automatically. If not, log in again.

See Also