Enabling tab completionΒΆ

Conda versions up to 4.3 supports tab completion in Bash shells via the argcomplete package. Bash tab completion is deprecated starting with version 4.4.

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.