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
- Install Windows Terminal
- Install Anaconda
- Windows 10
Add Anaconda Prompt
- Open Windows Terminal and click the arrow and then
settings. This will open thesettings.jsonfile to customize the terminal. - Duplicate the
cmdsettings by copying and pasting them below or highlightCTRL + Dif using visual studio to duplicate the selected text. (I ♥ shortcuts) - Update the
guidto something unique - Update the
nametoAnaconda - Next update the
commandlineto the cmd forAnaconda Prompt. The easiest way to do this is to grab the target path from the Anaconda Prompt shortcut.- Search for
Anaconda Promptin the windows search bar - Right click and
open file location - Right click on the
Anaconda Promptshortcut - 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%"
The new terminal settings.jsonshould look something like this:
- Search for
- 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.icoto the end. - End result should look something like this:
"icon": "%USERPROFILE%\\AppData\\Local\\Continuum\\anaconda3\\Menu\\anaconda-navigator.ico"
- It will be the same root path as above up to the
- Save the changes to the
settings.jsonfile - Open Windows Terminal
- Click the down arrow and select
Anaconda - BOOM! Anaconda in Windows Terminal.
- Listen to Sir-Mix-A-Lot and rejoice in your awesomeness