# How to add a specific PR of a package to an environment using Pkg

**URL:** <https://discourse.julialang.org/t/how-to-add-a-specific-pr-of-a-package-to-an-environment-using-pkg/114585>\
**Category:** General Usage\
**Tags:** pkg, github\
**Created:** [May 22, 2024, 4:30pm UTC](https://discourse.julialang.org/t/how-to-add-a-specific-pr-of-a-package-to-an-environment-using-pkg/114585 "2024-05-22T16:30:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Torkel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/torkel/32/5030_2.png) [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Post date:** [May 22, 2024, 4:30pm UTC](https://discourse.julialang.org/t/how-to-add-a-specific-pr-of-a-package-to-an-environment-using-pkg/114585/1 "2024-05-22T16:30:16Z")

</div>

I think someone said this should be possible.

There is a specific PR of a package ([bring back TermInterface by shashi · Pull Request #598 · JuliaSymbolics/SymbolicUtils.jl · GitHub](https://github.com/JuliaSymbolics/SymbolicUtils.jl/pull/598)) which I would like to try out locally. Is there a way to add this specific PR directly to my environment using Pkg?

---

<div class="post-metadata">

**Author:** ![tbeason](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tbeason/32/15898_2.png) [@tbeason](https://discourse.julialang.org/u/tbeason)\
**Post date:** [May 22, 2024, 4:35pm UTC](https://discourse.julialang.org/t/how-to-add-a-specific-pr-of-a-package-to-an-environment-using-pkg/114585/2 "2024-05-22T16:35:05Z")

</div>

I have asked this here before but did not easily find it via search.

Pkg lets you add specific branches of a repo, so you just need to add the branch associated with that PR. See `] ?add` for docs and examples.

---

<div class="post-metadata">

**Author:** ![KnutAM](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/knutam/32/37720_2.png) [@KnutAM](https://discourse.julialang.org/u/KnutAM)\
**Post date:** [May 22, 2024, 5:19pm UTC](https://discourse.julialang.org/t/how-to-add-a-specific-pr-of-a-package-to-an-environment-using-pkg/114585/3 "2024-05-22T17:19:28Z")

</div>

Just adding in that for the specific case, this becomes `add SymbolicUtils#s/revert-dep-revert`
