# login

## Authentication

Before you can run any OnePub command, you must first log in to OnePub.

```
onepub login
```

{% hint style="warning" %}
You don't need to run `dart pub token add`  as the   `onepub login` command does this for you.
{% endhint %}

#### Multiple devices

You can log in to the OnePub CLI from multiple devices.
