Skip to main content
Renamed.to logorenamed.to
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 versionVerifies you have a compatible Node.js version installed.

Network connectivityTests connection to the renamed.to API servers.

Authentication statusChecks if you're logged in and credentials are valid.

Token validityVerifies your auth token hasn't expired.

API accessConfirms 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 errorUpdate Node.js to v18 or later. We recommend using nvm to manage versions.

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

Authentication errorRun renamed auth login to re-authenticate.

Token expiredYour token should refresh automatically. If not, log in again.

See Also