Enabling tab completionΒΆ

Conda supports tab completion in bash shells via the argcomplete package.

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.