# Install program from GitHub into Anaconda env with pip

**URL:** <https://forum.anaconda.com/t/install-program-from-github-into-anaconda-env-with-pip/25492>\
**Category:** Getting Started\
**Created:** [June 19, 2022, 7:23pm UTC](https://forum.anaconda.com/t/install-program-from-github-into-anaconda-env-with-pip/25492 "2022-06-19T19:23:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bjarg](https://dub1.discourse-cdn.com/anaconda/user_avatar/forum.anaconda.com/bjarg/32/1577_2.png) [@bjarg](https://forum.anaconda.com/u/bjarg)\
**Post date:** [June 19, 2022, 7:23pm UTC](https://forum.anaconda.com/t/install-program-from-github-into-anaconda-env-with-pip/25492/1 "2022-06-19T19:23:15Z")

</div>

I am looking at installing a program from GitHub that is not available in the anaconda repositories. I have created an environment and pre-installed the require packages for this program. For the next steps the recomendation that I find is to install git and pip into this environemnt and then pip install the desired program. Is this the best way?

---

<div class="post-metadata">

**Author:** ![Damian\_Shaw](https://avatars.discourse-cdn.com/v4/letter/d/0075a9/32.png) [@Damian\_Shaw](https://forum.anaconda.com/u/Damian_Shaw)\
**Post date:** [June 19, 2022, 7:45pm UTC](https://forum.anaconda.com/t/install-program-from-github-into-anaconda-env-with-pip/25492/2 "2022-06-19T19:45:33Z")

</div>

> [@bjarg](#):
>
> stalling a program from GitHub that is not available in the anaconda repositories. I have created an environment and pre-installed the require packages for this program. For the next steps the recomendation that I find is to install git and pip into this environemnt and then pip install the desired program. Is this the best way?

If I’m understanding your question correctly:

```shell
> conda activate {env_name}
> conda install pip
> conda install git
> pip install git+{url to github page}

```

This will install the latest commit off the default branch, if you wish to install specific branch, tag, or commit you can also do that:

> <https://stackoverflow.com/questions/13685920/install-specific-git-commit-with-pip>
