> For the complete documentation index, see [llms.txt](https://docs.onepub.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.onepub.dev/guides/cli-integration/logout.md).

# logout

To log out of the OnePub CLI on **all** your devices, run the logout command from **any** device.

```
onepub logout
```

If you log out from any of your devices then you will be logged out from all of your devices.

If you have previously logged into multiple devices then to regain access an any given device, you will need to run `onepub login` on that device.

If your device gets stolen you can simply run `onepub logout` from any device or the onepub.dev website; go to the Member page and click the Logout CLI action.

Note: logging out of a stolen device still leaves the .pub-cache on the device so a thief will still have access to all source code in that device's cache.
