> ## 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`](/en/3.11.x/develop/cli/install). Then pick the path that matches how you sign in.

<CardGroup cols={2}>
  <Card title="Account Users" icon="user" href="/en/3.11.x/develop/cli/account-users/quick-start">
    You have a Dify account, signed in with a password or your organization's SSO.
  </Card>

  <Card title="External SSO Users" icon="id-card" href="/en/3.11.x/develop/cli/sso-users/quick-start">
    You have no Dify account; your admin gave you external SSO access to specific apps.
  </Card>
</CardGroup>

<Tip>
  Want an AI agent to run your Dify apps as tools? Once `difyctl` is installed, start with [Integrate Your Agents with Dify](/en/3.11.x/develop/cli/integrate-agents/overview).
</Tip>
