Skip to content

Commit 0a87090

Browse files
committed
move CLI
1 parent 026345c commit 0a87090

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

articles/ai-studio/includes/install-cli.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ ms.custom: include, ignite-2024
1313
You install the Azure CLI and sign in from your local development environment, so that you can use your user credentials to call the Azure OpenAI service.
1414

1515
In most cases you can install the Azure CLI from your terminal using the following command:
16+
1617
# [Windows](#tab/windows)
1718

1819
```powershell
@@ -36,9 +37,11 @@ brew update && brew install azure-cli
3637
You can follow instructions [How to install the Azure CLI](/cli/azure/install-azure-cli) if these commands don't work for your particular operating system or setup.
3738

3839
After you install the Azure CLI, sign in using the ``az login`` command and sign-in using the browser:
40+
3941
```
4042
az login
4143
```
44+
4245
Alternatively, you can log in manually via the browser with a device code.
4346
```
4447
az login --use-device-code

articles/ai-studio/quickstarts/get-started-code.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@ In this quickstart, we walk you through setting up your local development enviro
2222

2323
* Before you can follow this quickstart, complete the [Azure AI Foundry playground quickstart](../quickstarts/get-started-playground.md) to deploy a **gpt-4o-mini** model into a project.
2424

25-
## Install the Azure CLI and sign in
26-
27-
[!INCLUDE [Install the Azure CLI](../includes/install-cli.md)]
28-
2925
## Create a new Python environment
3026

27+
In the IDE of your choice, create a new folder for your project. Open a terminal window in that folder.
28+
3129
[!INCLUDE [Install Python](../includes/install-python.md)]
3230

3331
## Install packages
@@ -38,6 +36,12 @@ Install `azure-ai-projects`(preview), `azure-ai-inference` (preview), and azure-
3836
pip install azure-ai-projects azure-ai-inference azure-identity
3937
```
4038

39+
## Install the Azure CLI and sign in
40+
41+
[!INCLUDE [Install the Azure CLI](../includes/install-cli.md)]
42+
43+
Keep this terminal window open to run your python scripts from here as well, now that you've signed in.
44+
4145
## Build your chat app
4246

4347
Create a file named **chat.py**. Copy and paste the following code into it.

0 commit comments

Comments
 (0)