> For the complete documentation index, see [llms.txt](https://unirep.gitbook.io/unirep/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://unirep.gitbook.io/unirep/getting-started/start-with-cli-commands/5.-attester-signs-up.md).

# 5. Attester signs up

```bash
npx ts-node cli/index.ts attesterSignUp \
    -x $UNIREP_CONTRACT_ADDRESS  \
    -d $ATTESTER_PRIVATE_KEY
```

{% hint style="info" %}
**NOTE:** `-d` is attester's private key, this private key is to be used only by this attester hereafter

See: [cli/attesterSignUp](/unirep/package/cli/user-sign-up.md#attestersignup) for more `attesterSignUp` options.
{% endhint %}

* The attester ID will be printed, for example

```bash
Attester sign up with attester id: 1
```

Export Attester Id to the environment:

```bash
export ATTESTER_ID=1
```
