Enabling tab completion

Conda versions up to 4.3 supports tab completion in Bash shells via the argcomplete package. Bash tab completion has been removed starting with version 4.4.0.

To enable tab completion in your Bash shell:

  1. Make sure that argcomplete is installed:

    conda install argcomplete
    
  2. Add the following code to your bash profile:

    eval "$(register-python-argcomplete conda)"
    
  3. Test it:

    1. Open a new terminal window or an Anaconda Prompt.

    2. Type: conda ins, and then press the Tab key.

      The command completes to:

      conda install
      

To get tab completion in Zsh, see conda-zsh-completion.