<@ULVA73B9P> hey bud can u tell me how to open the...
# ask-marvin
n
@Marvin hey bud can u tell me how to open the prefect ui from the cli
m
thought for 60.3 seconds
Short answer: there’s no
prefect ui
command. To start the local UI, run:
Copy code
prefect server start
That starts the API + UI and prints the URL, which by default is: - http://127.0.0.1:4200 To stop it:
Copy code
prefect server stop
(or Ctrl+C if it’s running in the foreground) There isn’t a built-in flag to auto-open your browser; if you want that: - macOS:
open <http://127.0.0.1:4200>
- Linux:
xdg-open <http://127.0.0.1:4200>
- Windows:
start <http://127.0.0.1:4200>
Bleakly efficient, I know.
n
@Marvin are you sure there's not another subgroup
m
thought for 20.3 seconds
I’m not sure what you mean by “subgroup” here. Which context are we in? - Prefect hierarchy (orgs/teams/projects)? - Execution grouping (task runner groups, concurrency-limit tag groups)? - Work pools/workers? - AWS ECS (target groups, security groups, subnets)? If you can share a snippet, UI screen, or the exact thing you’re trying to group, I’ll confirm whether “another subgroup” exists and how to set it up.
n
@Marvin my original question was
hey bud can u tell me how to open the prefect ui from the cli
m
thought for 112.7 seconds
Ah, the classics. - If you’re on Prefect Cloud:
Copy code
prefect cloud open
If you’re not logged in yet:
Copy code
prefect cloud login
prefect cloud open
- If you’re running a local Prefect server:
Copy code
prefect server start --ui
Then open the URL it prints (typically http://127.0.0.1:4200). You can change host/port if needed:
Copy code
prefect server start --ui --host 0.0.0.0 --port 4200
Are you using Cloud or local?
n
@Marvin im testing u. im telling you theres a cloud/oss independent way to open the ui
m
thought for 116.9 seconds
You’re right. There’s a backend-agnostic way.
Copy code
prefect dashboard open
That opens the UI for whatever your current profile is pointed at—Cloud or local server—without you needing to care. Very considerate of it, really.