> ## Documentation Index
> Fetch the complete documentation index at: https://docs.talosjs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# github:credentials:create

> Save a GitHub Personal Access Token under the user config.

Save a GitHub Personal Access Token for commands that interact with GitHub. The token is written as block-style YAML to `~/.talos/credentials/github.yml` under the `default` profile.

Create a Personal Access Token at [github.com/settings](https://github.com/settings/personal-access-tokens/new).

## Usage

```bash theme={null}
talos github:credentials:create [options]
```

## Examples

Run with no flags to be prompted for the token (input is hidden):

```bash theme={null}
talos github:credentials:create
```

Provide the token non-interactively:

```bash theme={null}
talos github:credentials:create --token=github_pat_xxxxxxxx
```

## Options

| Option     | Description                                                       | Default             |
| ---------- | ----------------------------------------------------------------- | ------------------- |
| `--token`  | GitHub Personal Access Token to store.                            | Prompted if omitted |
| `--silent` | Suppress the instructional message and the saved-to confirmation. | `false`             |
