Coder.comC
Coder.com2y ago
11 replies
Brandon

Create default Admin user without UI

Looking for a bit of guidance, I am deploying Coder on a Kubernetes cluster with the Helm Chart, and wondered if there was an env variable that sets the default admin user credentials?
Solution
Try with
coder login \
    --first-user-username coder-admin \
    --first-user-email coder-admin@example.com \
    --first-user-password SomeStrongPassword \
    --use-token-as-session \
    https://coder.example.com
Was this page helpful?