---
schema_version: "1"
id: 7a478c4a58e75963c1784b1de4d92a98d1a68ace079ccf42b2d55f8db473ce61
title: Use Anypoint CLI
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/anypoint-cli/3.x/intro.md
canonical_url: https://docs.mulesoft.com/anypoint-cli/3.x/intro
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 4dd2a1c7576bac13f327e641ff77d297747c7e3344296ab7d6c8ebdaee8d814f
description: MuleSoft Documentation Site
release: 3.x
latest: false
---
---
product: Anypoint CLI
version: 3.x
---

# Use Anypoint CLI

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

An Anypoint Platform CLI call has the following form:

```console
$ anypoint-cli [params] [command]
```

## exit

\> exit \[options\]

This command exits Anypoint Platform CLI.

This command accepts only the default options: `--help`, `-f`/`--fields` and `-o`/`--output`.

If you choose not to pass a command, Anypoint Platform CLI runs in interactive mode. If you choose
to pass a specific command and there is an error, the application exits and returns a description of
the issue.

The Anypoint Platform CLI provides three default options:

- The `--help` option displays usage information of the command.

- The `-o` or `--output` option lets you specify the command’s output to the defined format.  
  Supported values are `table`, `text`, and `json`. Defaults to `text` for non-interactive mode and
  `table` for interactive sessions.

- The `-f` or `--fields` option allows you to define which fields to output.  
  You can pass the `--fields` option after a command to get a list of all possible fields to output.
