> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://contentful.com/developers/docs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://contentful.com/developers/docs/_mcp/server.

# Command-line interface (CLI)

> Get started using our Command-line interface (CLI) to consume and manage content. Including every command and subcommand you can specify.

Use the [`contentful-cli`](https://github.com/contentful/contentful-cli) to consume and manage content.

## Get started

Follow the [tutorials and guides](/tutorials/cli/installation).

## General

For every command and subcommand you can specify `--help` as a flag to get a list of available commands with a short description of their use-case.

```bash
contentful --help
# or
contentful login --help
# or
contentful space list --help
```

## Useful links

* [GitHub repository](https://github.com/contentful/contentful-cli)
* [GitHub repository - docs section](https://github.com/contentful/contentful-cli/tree/master/docs)
* [View on npm](https://www.npmjs.com/package/contentful-cli)
* [View on Github](https://github.com/contentful/contentful-cli)