If you install [[git]] (which comes with [[Git Bash]]) first when setting up your computer and specify the option "add Git to PATH", [[miniconda3]] will automatically add [[conda]] to the [[PATH]] variable and you can skip this step (see guide [[computer setup]]). If you did not check the option "add Git to PATH" when installing Git, you may either re-run the installer or follow the instructions below. Before you begin, make sure you [[configure git]]. ## Instructions 1. Navigate to the Miniconda3 folder using your File Explorer. 2. Navigate to the directory `miniconda3/etc/profile.d` . 3. Right-click and select 'Git Bash Here' from the context menu. 4. In the prompt, type: ```bash echo ". '${PWD}'/conda.sh" >> ~/.bashrc ``` >[!INFO] >With this command, you are writing (`echo`) the file path to the `conda.sh` file by replacing `PWD` with the path to the current working directory to a file called `.bashrc` that is stored in your home directory (denoted by the `~`). Now, when you open Git Bash you can type `conda activate` to activate the base `conda` environment, or `conda activate <env>` to activate any `conda` environment. Windows users will need to [[enable conda and mamba on Bash]] by running the command `conda init bash`, this only needs to be done once. To begin an interactive Python session, first activate the base `conda` environment and then type `python`. (Note that you might instead need to use `winpty` to launch an interactive Python session if you selected MinTTY to be the default terminal when installing Git). For more, see Code Academy's [detailed guide](https://discuss.codecademy.com/t/setting-up-conda-in-git-bash/534473).