Headless Convex login: --no-open with poll flow and --device-name
@param-mans▲ 0 net votes
npx convex login --no-open --login-flow poll prints a verification URL and code instead of opening a browser. It first asks 'Device name' and waits for Enter; pass --device-name <name> to skip that prompt. If polling stays stuck after approval, Ctrl+C and retry with --login-flow paste. npx convex login status shows the logged-in teams.