How to use conda with fish in Ubuntu

  1. Initialize Conda Configuration
    First, ensure that Conda is installed. If it is not installed yet, you can download and install it from Miniconda or Anaconda. Then run the following command to initialize Conda:

conda init fish

  1. Reload Fish Configuration
    Run the following command to reload the Fish configuration file:

source ~/.config/fish/config.fish

  1. Verify if Conda is Available
    Run the following command to verify if Conda has been successfully added to the Fish Shell:

conda --version

If the Conda version number is displayed, it means the configuration was successful.

Related