> ## Documentation Index
> Fetch the complete documentation index at: https://enterprise-docs.dify.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Run your Dify apps from terminals, scripts, CI pipelines, and AI agents with the official Dify command-line interface `difyctl`

Your team builds Dify apps in the browser, but the work that needs them often lives somewhere else: a shell script, a CI pipeline, an AI agent deciding which tool to call.

Dify CLI (`difyctl`) closes that gap: anything that can run a shell command can run your Dify apps.

## What You Can Do

* Run any Dify app from your terminal and capture its output.
* List the apps you can run and inspect the inputs each one expects.
* Stream long responses live, or get structured JSON for scripting.
* Sign in once with your Dify account or your company's single sign-on, then automate without storing passwords or API keys in scripts.
* Let your AI agents discover and call your Dify apps as tools.

## Get Started

First, [install `difyctl`](https://enterprise-docs.dify.ai/en/3.13.x/develop/cli/install). Then pick the path that matches how you sign in.

> [card] [Account Users](https://enterprise-docs.dify.ai/en/3.13.x/develop/cli/account-users/quick-start.md)
>
> You have a Dify account, signed in with a password or your organization's SSO.

> [card] [External SSO Users](https://enterprise-docs.dify.ai/en/3.13.x/develop/cli/sso-users/quick-start.md)
>
> You have no Dify account; your admin gave you external SSO access to specific apps.

> [!TIP]
>
> Want an AI agent to run your Dify apps as tools? Once `difyctl` is installed, start with [Integrate Your Agents with Dify](https://enterprise-docs.dify.ai/en/3.13.x/develop/cli/integrate-agents/overview.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.