Enabling tab completionΒΆ

Conda versions up to 4.3 supports tab completion in bash shells via the argcomplete package. Tab completion is deprecated starting with version 4.4. See issue #415.

To enable tab completion:

  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.