DEV Community

Discussion on: Easily add Anaconda Prompt to Windows Terminal to make life better

Collapse
nikiluk profile image
Nikita Lukianets • Edited on

In the newest version of Windows Terminal, the changes are done in the settings.json file. Just change USERNAME to yours for the "commandline" setting.

{
// Make changes here to the cmd.exe profile.
"guid": "{0caa0dad-35be-5f56-a8ff-afceee452369}",
"name": "Anaconda",
"icon": "%USERPROFILE%\Anaconda3\Menu\anaconda-navigator.ico",
"commandline": "cmd.exe /K C:\Users\USERNAME\Anaconda3\Scripts\activate.bat",
"hidden": false
},

Collapse
cassiebreviu profile image
Cassie Breviu Author

I updated to settings.json! Thanks!

Collapse
benjaminsandham profile image
benjamin-sandham

My username is bsand, so my commandline setting is

"cmd.exe /K C:\Users\bsand\anaconda3\Scripts\activate.bat"

However, the \b is highlighted, I think it is acting as an escape character. Do you have any suggestions?

Collapse
nikiluk profile image
Nikita Lukianets

Try instead
"commandline": "cmd.exe /K C:\\Users\bsand\\anaconda3\\Scripts\\activate.bat"