cri.dev about posts rss

Make Anaconda executables available in your PATH (fish shell)

Published on

To make Anaconda executables like conda or anaconda-navigator available in your shell, you’ll need to edit your ~/.config/fish/fish.config and add the directory where the commands are located.

If you’re using Anaconda with Python 2.x, the path will be /anaconda2/bin/.

For Python 3.x and up: /anaconda3/bin/

Just add a line the following line to your ~/.config/fish/fish.config:

set -gx PATH $PATH /anaconda2/bin/

Here, have a slice of pizza 🍕