Skip to content
Ivan Kristianto edited this page Jul 29, 2020 · 6 revisions

Cloudflare API CLI Interface with Node.js

This package allows you to manage your Cloudflare Accounts through cli interface.

Build and Test Release Version MIT License


  • Node.js 10 or above


  1. npm install -g cloudflare-api.
  2. Generate your Cloudflare API Token, see this doc
  3. Run cf config setup, and use your api token.
  4. Run cf --help for all available commands.


Documentation is available at the wiki page for all the available commands and the optional arguments.

Note, since version 0.4.0, it allows to store multiple tokens. And to use specific token pass --useToken=<tokenName>.


Pull requests and feedback are welcome. Contributing guideline will be added later.


A complete listing of all notable changes to this package in