conda-forge / miniforge

A conda-forge distribution.
https://conda-forge.org/miniforge
Other
5.76k stars 306 forks source link

Hard to undo the PATH added by miniforge3 on Windows #520

Open orionlee opened 7 months ago

orionlee commented 7 months ago

Comment:

I installed the current miniforge3 on Windows using the installer, and might have accidentally asked it to add miniforge3 to the PATH (unless there was a bug in the installer).

I wanted to remove miniforge3 from PATH, and found it a bit difficult.

image

It'd be great if this is documented.

hmaarrfk commented 7 months ago

Thanks for bringing this up.

Many of us don't really use windows on a daily basis so it is difficult for us to document these.

PRs welcome. I would keep instructions "generic" and guide the user for what to look for. Editing the registry can be risky business.

orionlee commented 7 months ago

It'd be easier for users to modify it if the Miniforge3 path is added directly to User environment variable during installation.

If no change is planned, consider to add something like the following to README.md Windows section:

Remove Miniforge3 from PATH

If you wish to remove Miniforge3 from PATH environment variable, bear in mind that it is added to Windows registry, rather than User / System environment variables.