Skip to content
Advertisement

Change “conda activate” command in terminal? [closed]

Can I change the command conda activate env_name to activate the environment?

Instead, I want to give my custom command. Is that possible?

Advertisement

Answer

You can create an alias, you might have to save it in your .bashrc/.bash_profile file.

alias <custom command>="conda activate <env name>"
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement