# Activating environment for a specific branch

**URL:** <https://discourse.julialang.org/t/activating-environment-for-a-specific-branch/101425>\
**Category:** General Usage\
**Tags:** question\
**Created:** [July 10, 2023, 10:34am UTC](https://discourse.julialang.org/t/activating-environment-for-a-specific-branch/101425 "2023-07-10T10:34:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hzarei](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hzarei/32/32089_2.png) [@hzarei](https://discourse.julialang.org/u/hzarei)\
**Post date:** [July 10, 2023, 10:34am UTC](https://discourse.julialang.org/t/activating-environment-for-a-specific-branch/101425/1 "2023-07-10T10:34:45Z")

</div>

Hello,

I have created a `development` branch from the `main` branch for a package. Is it possible to activate another Julia environment for this branch that is slightly different?

---

<div class="post-metadata">

**Author:** ![zgornel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zgornel/32/217487_2.png) [@zgornel](https://discourse.julialang.org/u/zgornel)\
**Post date:** [July 10, 2023, 11:20am UTC](https://discourse.julialang.org/t/activating-environment-for-a-specific-branch/101425/2 "2023-07-10T11:20:50Z")

</div>

If `Project.toml` differs between the branches, activating again the environment i.e. `]activate .` after branch switch should cover the env change.
