Installation & Quickstart
SetupHow to install NamishCLI via npm, binary downloads, or Windows MSI, and authenticate your Cloudflare account.
📖 Full Explanation
NamishCLI (\1) is an ultra-fast, zero-daemon terminal interface designed to eliminate sluggish web dashboards and streamline Cloudflare developer platform management. Built with native Node.js performance and compiled standalone binaries for macOS, Linux, and Windows, it delivers sub-second command execution across all Cloudflare API v4 services including DNS, Workers, Pages, AI Inference, and DDoS shields.
⚙️ Command Options & Flags
| Option / Flag | Description | Default |
|---|---|---|
| -V, --version | Output the current CLI version | 1.0.0 |
| -h, --help | Display comprehensive command reference and usage help | - |
| --format <format> | Format output style: table, json, or csv | table |
| --json | Shortcut flag for raw JSON formatted output | false |
| --token <token> | Override API token for the current command invocation | env |
| --confirm | Bypass all interactive confirmation prompts for non-blocking CI/CD | false |
| --verbose | Enable detailed API request/response logging and latency traces | false |
🔬 Technical Corollary & Edge Mechanics
Authentication is managed through standard Cloudflare API Tokens with granular permissions. The CLI stores your token securely in \1 with restricted permissions (0600). When executing commands, the client prioritizes flags (\1), falls back to environment variables (\1 / \1), and finally reads from the persisted configuration file. Tokens are never transmitted to third parties and communicate directly over TLS 1.3 to \1.
🎯 Real-World DevOps Use Cases
Automated CI/CD Pipeline Verification
Ensure Cloudflare credentials and edge connectivity are healthy before deploying assets in GitHub Actions.
Cross-Platform Developer Setup
Install globally across team development environments with a single command.
💻 Live Output Simulation
$ cflare --version 1.0.0 $ cflare zones list ┌─────────────────┬──────────────────────┬────────┬──────────┐ │ Zone Name │ ID │ Status │ Plan │ ├─────────────────┼──────────────────────┼────────┼──────────┤ │ namishkumar.in │ 8f92ab3c4d5e6f7a... │ active │ Free │ │ example.com │ 1a2b3c4d5e6f7a8b... │ active │ Pro │ └─────────────────┴──────────────────────┴────────┴──────────┘