# coder users create

Create a new user.

## Usage [#usage]

```console
coder users create [flags]
```

## Options [#options]

### -e, --email [#-e---email]

|      |                     |
| ---- | ------------------- |
| Type | <code>string</code> |

Specifies an email address for the new user.

### -u, --username [#-u---username]

|      |                     |
| ---- | ------------------- |
| Type | <code>string</code> |

Specifies a username for the new user.

### -n, --full-name [#-n---full-name]

|      |                     |
| ---- | ------------------- |
| Type | <code>string</code> |

Specifies an optional human-readable name for the new user.

### -p, --password [#-p---password]

|      |                     |
| ---- | ------------------- |
| Type | <code>string</code> |

Specifies a password for the new user.

### --login-type [#--login-type]

|      |                     |
| ---- | ------------------- |
| Type | <code>string</code> |

Optionally specify the login type for the user. Valid values are: password, none, github, oidc. Using 'none' prevents the user from authenticating and requires an API key/token to be generated by an admin. Deprecated: 'none' is deprecated. Use service accounts (requires Premium) for machine-to-machine access, or password/github/oidc login types for regular user accounts.

### --service-account [#--service-account]

|      |                   |
| ---- | ----------------- |
| Type | <code>bool</code> |

Create a user account intended to be used by a service or as an intermediary rather than by a human.

### -O, --org [#-o---org]

|             |                                   |
| ----------- | --------------------------------- |
| Type        | <code>string</code>               |
| Environment | <code>$CODER\_ORGANIZATION</code> |

Select which organization (uuid or name) to use.
