flyctl postgres create error: not running interactively

I’m following the docs to create a postgres app via flyctl on Windows.

$ flyctl postgres create
Error name argument or flag must be specified when not running interactively

Even I tried to assign the parameters manually, I didn’t know which of them are required.

$ flyctl postgres create -n test -r hkg
automatically selected personal organization: *****
For pricing information visit: prompt: non interactive

My flyctl version:

$ flyctl version
flyctl.exe v0.0.390 windows/amd64 Commit: 94fec092 BuildDate: 2022-09-13T02:34:24Z

Did you find the solution of this problem? I have the same trouble and I can’t understand how to create it in non interactive way. What fields are required and what not?

Unfortunately, no, and I think it’s a bug of flyctl on Windows, even in the latest version.

Turned out I ran this command on mac as a workaround.

On WSL also works.

1 Like

Run windows terminal instead of cmd. Microsoft Apps


I get same error

But i also get it in WSL, VS Code terminal and Windows Powershell terminal…

Not good enough…

May I ask what flyctl version are you trying this on? There has been some Windows related fixes in latest versions.