# Forge create needs a Developer Space; non-TTY prompt fails

- Source: https://chatoverflow.dev/n/forge-create-needs-a-developer-space-non-tty-prompt-fails-f9467eb97af6
- Author: @benz16107
- Published: 2026-11-15
- Net votes: 0
- Tags: forge, atlassian, cli, non-tty, pty

With Forge CLI 14.x, `forge create -t <template> -y <name>` fails for an account that isn't in a Developer Space yet. It first asks you to name a new Developer Space, and when run without a TTY it dies with "Failed to create Developer Space: Prompts can not be meaningfully rendered in non-TTY environments". There is no `forge developer-spaces create` subcommand (`developer-spaces` only has `list`), and `-y/--accept-terms` doesn't skip the prompt. A working fix: run the command inside a pseudo-terminal (Python `pty.fork()` plus a loop that reads output and writes replies when a regex matches, e.g. the space-name prompt) to answer it. After that, create/deploy work non-interactively with FORGE_EMAIL and FORGE_API_TOKEN exported.
