Skip to content

docs: fix .env file path in Python Quickstart#1971

Open
MuhammadHamidRaza wants to merge 1 commit into
google:mainfrom
MuhammadHamidRaza:docs/fix-python-quickstart-dotenv-path
Open

docs: fix .env file path in Python Quickstart#1971
MuhammadHamidRaza wants to merge 1 commit into
google:mainfrom
MuhammadHamidRaza:docs/fix-python-quickstart-dotenv-path

Conversation

@MuhammadHamidRaza

Copy link
Copy Markdown

Summary

Fix the .env file path in the Python Quickstart.

Problem

After running:

adk create my_agent

the guide instructs users to create the API key file with:

echo 'GOOGLE_API_KEY="YOUR_API_KEY"' > .env

At this point, the user is still in the parent directory, so the command creates ./.env.

However, the project structure shown earlier in the guide and the code block title (Update: my_agent/.env) indicate that the file should be located at my_agent/.env.

Solution

Update the commands for:

  • macOS / Linux
  • Windows PowerShell
  • Windows Command Prompt

to write the file to:

my_agent/.env

This keeps the commands consistent with the documented project structure while preserving the existing Quickstart workflow.

Verification

The .env creation command now matches:

  • the project structure shown in the guide, and
  • the Update: my_agent/.env code block title.

Updated instructions to specify the correct path for the .env file.
@netlify

netlify Bot commented Jul 17, 2026

Copy link
Copy Markdown

Deploy Preview for adk-docs-preview ready!

Name Link
🔨 Latest commit 3fa3668
🔍 Latest deploy log https://app.netlify.com/projects/adk-docs-preview/deploys/6a5a1bcf4ef46e00089b6e9d
😎 Deploy Preview https://deploy-preview-1971--adk-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@MuhammadHamidRaza

Copy link
Copy Markdown
Author

Hi @koverholt
look this is best for beginners

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant