wrangler
Deploy and manage Cloudflare Workers, Pages, KV, R2, D1, and other Cloudflare services using the `wrangler` CLI.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Wrangler Skill
Use the wrangler CLI to manage Cloudflare Workers and related services.
Workers
List deployed workers:
wrangler deployments list
Deploy a worker:
wrangler deploy
Tail live logs from a worker:
wrangler tail <worker-name>
Run worker locally:
wrangler dev
KV (Key-Value Storage)
List KV namespaces:
wrangler kv namespace list
List keys in a namespace:
wrangler kv key list --namespace-id <namespace-id>
Get a value:
wrangler kv key get <key> --namespace-id <namespace-id>
Put a value:
wrangler kv key put <key> <value> --namespace-id <namespace-id>
R2 (Object Storage)
List R2 buckets:
wrangler r2 bucket list
List objects in a bucket:
wrangler r2 object list <bucket-name>
Upload a file:
wrangler r2 object put <bucket-name>/<key> --file <local-path>
D1 (SQLite Database)
List D1 databases:
wrangler d1 list
Execute SQL query:
wrangler d1 execute <database-name> --command "SELECT * FROM users LIMIT 10"
Run migrations:
wrangler d1 migrations apply <database-name>
Pages
List Pages projects:
wrangler pages project list
Deploy a directory to Pages:
wrangler pages deploy <directory> --project-name <project>
Secrets
Set a secret:
echo "secret-value" | wrangler secret put <SECRET_NAME>
List secrets:
wrangler secret list
Configuration
Check current authentication:
wrangler whoami
Login (opens browser):
wrangler login
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-28
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!