Skip to main content
You can edit Navigator and conda configuration files through either the Navigator Preferences dialog or in your preferred text editor.
Be careful when changing values directly in the configuration files for Navigator or conda. Incorrect configuration can cause issues with these products.

Editing with the Navigator Preferences dialog

  1. In Anaconda Navigator, open the Navigator Preferences dialog.
    • Windows/Linux
    • macOS
    Open the File menu and click Preferences.
  2. Click Configure Navigator to open the anaconda-navigator.ini file or click Configure Conda to open the .condarc file within Navigator.
  3. Edit the file to change any configurations. When you edit the Navigator and conda configuration files in Navigator, a validation tool warns you about missed requirements or incorrect formatting. The .condarc file must be a valid .yaml format file.
  4. Click Save and Restart to save any changes to the open configuration file and restart Navigator.

Editing with your preferred text editor

Follow these steps to locate, open, and edit the .condarc or anaconda-navigator.ini files in your preferred text editor:
  • Edit .condarc
  • Edit anaconda-navigator.ini
  1. Open your .condarc file in your text editor of choice.
    To locate your .condarc file, open Anaconda Prompt (Terminal on macOS/Linux) and run the following command:
    conda config --show-sources
    
    Example return:
    ==> /Users/<USERNAME>/miniconda3/.condarc <==
    channels:
      - defaults
    
    While the .condarc is most likely in your Home directory, it is a hidden file on MacOS and Linux and is not visible in file browsers under under normal circumstances.You can view hidden files and folders using the following guidance for your operating system:
    • macOS
    • Linux
    To view hidden files on macOS, use Shift+Cmd+. in your Finder.
    For more information on the .condarc file, see Using the .condarc conda configuration file in the official conda documentation.
  2. Make and save your changes. The .condarc file must be a valid .yaml format file.
  3. Close and reopen Navigator or any Anaconda Prompt or command line windows.