# How to point Julia to the correct package location?

**URL:** <https://discourse.julialang.org/t/how-to-point-julia-to-the-correct-package-location/87442>\
**Category:** General Usage\
**Created:** [September 18, 2022, 2:27pm UTC](https://discourse.julialang.org/t/how-to-point-julia-to-the-correct-package-location/87442 "2022-09-18T14:27:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brad\_Carman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/brad_carman/32/17631_2.png) [@Brad\_Carman](https://discourse.julialang.org/u/Brad_Carman)\
**Post date:** [September 18, 2022, 2:27pm UTC](https://discourse.julialang.org/t/how-to-point-julia-to-the-correct-package-location/87442/1 "2022-09-18T14:27:07Z")

</div>

If I’ve installed and loaded a package, and then in the same session `develop` said package, I would expect that `pkgdir(<developed package>)` would point to the developed package path. This is not my experience, the directory returned is the installed package path. This is confusing because `Pkg.status()` shows the package as developed and the correct path, but running `pkgdir` gives a different result. The only solution for me is to restart Julia, which I’d really like to avoid.

I’m not sure if Revise.jl is required for this or not. Please see related issue I opened: [Revise.jl fails to track updated packages on Windows · Issue #709 · timholy/Revise.jl (github.com)](https://github.com/timholy/Revise.jl/issues/709)

Is there any workaround I can use to tell Julia to load a different package code?
