From 0b88be10e60ddbf7c7b0264438e4e2ad1f7b52f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 18 Jun 2026 15:52:19 +0200 Subject: [PATCH] docs: show how to set the app name with --app in the deploy tutorial The deploy command tutorial only showed the interactive deno deploy flow and never mentioned the --app flag, leaving users unsure how to set the application name (the successor to the Deploy Classic project name) from the CLI. Closes #2751 --- examples/tutorials/deploy_command.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/examples/tutorials/deploy_command.md b/examples/tutorials/deploy_command.md index ba6cb6606..03f068274 100644 --- a/examples/tutorials/deploy_command.md +++ b/examples/tutorials/deploy_command.md @@ -1,5 +1,5 @@ --- -last_modified: 2025-09-29 +last_modified: 2026-06-18 title: "Deploy an app with the deno deploy command" description: "Step-by-step tutorial for using the deno deploy CLI command to create and deploy your first application to Deno Deploy." url: /examples/deploy_command_tutorial/ @@ -176,6 +176,18 @@ deno deploy Select the appropriate options in the terminal when prompted. +By default the CLI prompts you for an application name. You can set it yourself +with the `--app` flag instead (this is the equivalent of the project name in +Deno Deploy Classic): + +```bash +deno deploy --app my-app-name +``` + +The application name is used in your app's default URL. See the +[`deno deploy` reference](/runtime/reference/cli/deploy/) for all available +flags, including `--org` and `--prod`. + The deployment process will: 1. Make a tarball of your application code