---
title: "Introducing deployctl, the command line interface for Deno Deploy"
description: "deployctl is a CLI for managing the full lifecycle of Deno Deploy projects from the terminal: deploying, renaming projects, inspecting deployments, streaming logs, monitoring resource usage with `deployctl top`, promoting preview deployments to production, and deleting deployments or projects."
url: "https://swe.quest/articles/introducing-deployctl-the-command-line-interface-for-deno-deploy-f471a4c6be1d0b1b"
canonical: "https://deno.com/blog/deployctl"
source: "Deno"
published: "2024-03-15"
difficulty: "medium"
kind: "How-to"
reading_minutes: 9
tags: ["deployment","serverless","developer-tools","typescript"]
---

# Introducing deployctl, the command line interface for Deno Deploy

A post on [Deno](https://swe.quest/sources/deno.md), published 2024-03-15, 9 min read, How-to. Original: [https://deno.com/blog/deployctl](https://deno.com/blog/deployctl)

## Summary

deployctl is a CLI for managing the full lifecycle of Deno Deploy projects from the terminal: deploying, renaming projects, inspecting deployments, streaming logs, monitoring resource usage with \`deployctl top\`, promoting preview deployments to production, and deleting deployments or projects. The walkthrough deploys a Hono server and saves its config in deno.json. Because deployments are immutable, changing env vars, domains or the KV database means creating a new deployment, and \`redeploy --prod\` reuses an existing build to promote it. Piped output is JSON, which makes the CLI scriptable for CI/CD.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Deployment](https://swe.quest/tags/deployment.md) (Reliability & operations)
- [Serverless](https://swe.quest/tags/serverless.md) (Backend & APIs)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)
- [TypeScript](https://swe.quest/tags/typescript.md) (Languages)

## Prerequisites

- command line basics
- Deno basics

## Keywords

deployctl, Deno Deploy, Deno, Hono, Deno KV, JSR

## Related posts

- [Build Your Own Cloud IDE with the Subhosting API](https://swe.quest/articles/build-your-own-cloud-ide-with-the-subhosting-api-182e8468c60d1771.md): Deno · 2024-01-16 · Medium · 10 min read · Serverless, TypeScript, Developer tools, API design
  A cloud IDE can be built on the Deno Subhosting API, which programmatically deploys user code to Deno Deploy's global V8 isolate cloud within seconds.
- [Manage your Deno Deploy and Deno Subhosting projects with Terraform](https://swe.quest/articles/manage-your-deno-deploy-and-deno-subhosting-projects-with-terraform-699764d70221ef58.md): Deno · 2023-12-05 · Medium · 6 min read · Infrastructure as code, Serverless, Deployment, TypeScript
  Deno now ships an official Terraform provider (denoland/deno) for managing Deno Deploy and Deno Subhosting projects, custom domains and deployments as infrastructure-as-code.
- [Run npm and Deno anywhere](https://swe.quest/articles/run-npm-and-deno-anywhere-02ce4590033c3918.md): Deno · 2022-11-18 · Medium · 7 min read · Deployment, Containers, Cloud platforms, JavaScript
  Deno apps, including those using npm specifiers, can be containerized with the official denoland/deno Docker image and deployed to any VPS or container platform, not just Deno Deploy.
- [Build a dinosaur runner game with Deno, pt. 1](https://swe.quest/articles/build-a-dinosaur-runner-game-with-deno-pt-1-e4d3faa91fec67fd.md): Deno · 2025-12-08 · Medium · 5 min read · JavaScript, TypeScript, Deployment, Serverless
  Part one of a series building a browser dinosaur runner game sets up a Deno project that serves static files and deploys it.
- [Build and Ship Astro Sites with Deno and Deno Deploy](https://swe.quest/articles/build-and-ship-astro-sites-with-deno-and-deno-deploy-3be8936cebaf2b24.md): Deno · 2023-07-21 · Medium · 12 min read · Frontend, Serverless, Deployment, TypeScript
  Astro sites can be built with the Deno runtime and hosted on Deno Deploy in two modes.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
