Add conda to path in fish

Anarcho-Chossid picture Anarcho-Chossid · Dec 15, 2015 · Viewed 10.1k times · Source
~> conda install pandas
fish: Unknown command 'conda'

I understand that I need to add conda to PATH, but no matter what combinations of commands I tried, I could get it to work. I still get the above error.

Answer

ridiculous_fish picture ridiculous_fish · Dec 15, 2015

Where is conda installed? If it's in ~/anaconda/bin, then you want to run this:

Try set -U fish_user_paths ~/anaconda/bin $fish_user_paths

Modifying PATH is discussed in the fish tutorial

Hope that helps!