If you’re using Antigravity IDE for Python development, you’ve probably noticed that its built‑in terminal defaults to PowerShell or CMD. But if your workflow depends on Anaconda, you’ll want the IDE terminal to behave exactly like the Anaconda Prompt — automatically activating your conda environment when it opens.
This guide walks you through the exact steps to make that happen, using real screenshots from the setup process.
Why This Matters
Antigravity IDE is fast, lightweight, and flexible — but it doesn’t automatically detect Anaconda installations. That means:
condacommands may not work- Python may point to the wrong interpreter
- Your environment‑specific dependencies won’t load
The fix is simple: create a custom terminal profile that launches CMD with Anaconda’s activation script.
Step 1 — Open Terminal Profile Settings
Inside Antigravity IDE:
- Open Settings
- Search for terminal profile
You’ll see a panel similar to this:

This is where we’ll add a new profile called AnacondaPrompt.
Step 2 — Locate Your Actual Anaconda Path
Before editing the profile, you must confirm where Anaconda is installed.
Open Anaconda Prompt and run:
Code
where activate
You should see output similar to:
Code
C:\Users\foxku\anaconda3\Scripts\activate
C:\Users\foxku\anaconda3\Scripts\activate.bat
C:\Users\foxku\anaconda3\condabin\activate.bat
This tells us the correct activation script is:
Code
C:\Users\foxku\anaconda3\Scripts\activate.bat
This path is what Antigravity IDE must use.
Step 3 — Add the Anaconda Terminal Profile
Open your settings.json (there’s a link in the Terminal Profiles panel).
Insert or update the Windows terminal profiles block so it includes:
json
"terminal.integrated.profiles.windows": {
"PowerShell": {
"source": "PowerShell",
"icon": "terminal-powershell"
},
"Command Prompt": {
"path": [
"${env:windir}\\Sysnative\\cmd.exe",
"${env:windir}\\System32\\cmd.exe"
],
"args": [],
"icon": {
"id": "terminal-cmd"
}
},
"Git Bash": {
"source": "Git Bash",
"icon": "terminal-git-bash"
},
"AnacondaPrompt": {
"path": "C:\\Windows\\System32\\cmd.exe",
"args": [
"/K",
"C:\\Users\\foxku\\anaconda3\\Scripts\\activate.bat"
],
"icon": "terminal-cmd"
}
},
"terminal.integrated.defaultProfile.windows": "AnacondaPrompt"
This tells Antigravity IDE:
- Launch cmd.exe
- Run
/K activate.bat(which initializes conda) - Use this profile as the default terminal
Step 4 — Verify the Terminal Initialization
Open a new terminal inside Antigravity IDE.
You should now see:
Code
(base) C:\Users\foxku>
If you see the (base) prefix, congratulations — your IDE terminal is now fully Anaconda‑powered.
Troubleshooting
“The system cannot find the path specified.”
This error appears when the activation script path is wrong.
In your case, the IDE was pointing to:
Code
C:\Users\foxku\miniconda3\Scripts\activate.bat
…but your actual installation was:
Code
C:\Users\foxku\anaconda3\Scripts\activate.bat
Updating the JSON fixed the issue immediately.
Step 5 — Optional: Auto‑Activate a Specific Environment
If you want the IDE to always activate a particular environment (e.g., speech2text), change the args to:
json
"args": [
"/K",
"C:\\Users\\foxku\\anaconda3\\Scripts\\activate.bat speech2text"
]
Conclusion
Configuring Antigravity IDE to use Anaconda is straightforward once you know where the activation script lives. By creating a custom terminal profile and setting it as the default, you ensure:
- Conda environments activate automatically
- Python points to the correct interpreter
- Your workflow stays consistent across IDE and terminal
This setup is especially useful for machine learning, speech‑to‑text projects, and any environment‑heavy Python work.
Discover more from Science Safari
Subscribe to get the latest posts sent to your email.