Files
wehub-resource-sync e768098d0e
tools_continuous_delivery / Private PyPI non-main branch release (push) Has been skipped
tools_continuous_delivery / Private PyPI main branch release (push) Failing after 2m42s
Publish Promptflow Doc / Build (push) Has been cancelled
Publish Promptflow Doc / Deploy (push) Has been cancelled
Flake8 Lint / flake8 (push) Has been cancelled
Spell check CI / Spell_Check (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:39:52 +08:00

1.7 KiB

Standalone CLI

:::{admonition} Experimental feature This is an experimental feature, and may change at any time. Learn more. :::

A standalone installation of prompt flow bypasses the need for a Python virtual environment and allows users to utilize the prompt flow CLI directly in their command terminal. Opt for this option when seeking a swift setup without concerns about dependencies or virtual environments, and when preferring the straightforward efficiency of the command line interface.

Install

::::{tab-set}

:::{tab-item} Windows :sync: Windows

You can use winget, Microsoft's Package manager for Windows, to install and manage updates for prompt flow CLI in Windows OS.

Note: winget is available by default in Windows 11 and modern versions of Windows 10. However, it may not be installed in older versions of Windows. See the winget documentation for installation instructions.

Open a command-line terminal, you can use either PowerShell or Command Prompt (cmd). Run the command below:

winget install -e --id Microsoft.Promptflow

The -e option is to ensure the official prompt flow package is installed. This command installs the latest version by default. To specify a version, add a -v <version> with your desired version to the command. :::

::::

Verify installation

To verify the installation, run the following command to check the version of prompt flow installed.

pf --version

Uninstall

  • If you install prompt flow CLI using winget, you can uninstall it by running the following command in your terminal:
    winget uninstall Microsoft.Promptflow