Skip to content

ai dev

The ai dev command in the Azure AI CLI provides a set of sub-commands to get started with templates and configuration settings.

Usage

ai dev <command> [...]

Commands

Command Description
ai dev new Creates or lists available templates. The available templates include quickstart sample code and helper functions.
ai dev shell Creates a fast path to providing configuration data (such as keys and endpoints) to a new shell (such as cmd.exe or /bin/bash) or to a specified command to run via environment variables.

Examples

Create a new template
ai dev new openai-chat --language Python
Open a new shell populated with environment variables
ai dev shell
Run a specific program with its environment populated
ai dev shell --run "python myApp.py"