This is a simple shim script to wrap micromamba for use with PyCharm, which otherwise doesn't recognize mamba as a valid conda executable. To use:
- Confirm the shim's
EXECUTABLE_PATHis the full path to yourmicromambaexecutable. - Confirm the shim is executable (i.e.
chmod u+x ./conda). - In PyCharm Settings -> Python Interpreter -> Add Interpreter, add a new Conda Environment with the shim set as the Conda Executable.
As of PyCharm 2025.3, the interpretter settings have a different look:

