Easily add Anaconda Prompt to Windows Terminal to make life better

cassiebreviu

Cassie Breviu

Posted on December 5, 2019

Easily add Anaconda Prompt to Windows Terminal to make life better

I love the Windows Terminal and if you haven't tried it out yet I highly recommend it. Its super customizable which is absolutely lovely. Here are the steps to add Anaconda Prompt to Windows Terminal.

Prerequisites

Add Anaconda Prompt

  1. Open Windows Terminal and click the arrow and then settings. This will open the settings.json file to customize the terminal. Alt Text
  2. Duplicate the cmd settings by copying and pasting them below or highlight CTRL + D if using visual studio to duplicate the selected text. (I ♥ shortcuts) Alt Text
  3. Update the guid to something unique
  4. Update the name to Anaconda
  5. Next update the commandline to the cmd for Anaconda Prompt. The easiest way to do this is to grab the target path from the Anaconda Prompt shortcut.
    • Search for Anaconda Prompt in the windows search bar
    • Right click and open file location
    • Right click on the Anaconda Prompt shortcut
    • Click properties
    • Grab the target path
    • Delete the extra text to get the path (shown below)
    • If you prefer you can replace the "C:\Users\xxx" to "%USERPROFILE%" Alt Text The new terminal settings.json should look something like this: Alt Text
  6. Optional: Update the icon to the Anaconda navigator icon
    • It will be the same root path as above up to the anaconda3
    • Append \\Menu\\anaconda-navigator.ico to the end.
    • End result should look something like this: "icon": "%USERPROFILE%\\AppData\\Local\\Continuum\\anaconda3\\Menu\\anaconda-navigator.ico"
  7. Save the changes to the settings.json file
  8. Open Windows Terminal
  9. Click the down arrow and select Anaconda
  10. BOOM! Anaconda in Windows Terminal. Alt Text
  11. Listen to Sir-Mix-A-Lot and rejoice in your awesomeness
💖 💪 🙅 🚩
cassiebreviu
Cassie Breviu

Posted on December 5, 2019

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related