---
title: "The cloud logout command"
slug: "the-cloud-logout-command"
abstract: "Reference for the Sitecore CLI cloud logout command"
---
# The cloud logout command

The XM Cloud plugin for the Sitecore CLI provides the `cloud logout` command. You use the command to log out of a SitecoreAI environment.

## Usage

The `cloud logout` command does not have any options. You can use the command as follows:

```shell
dotnet sitecore cloud logout
```