# How \`Pkg\` versioning works

**URL:** https://discourse.julialang.org/t/how-pkg-versioning-works/19933
**Category:** General Usage
**Tags:** pkg
**Created:** [January 22, 2019, 3:03pm UTC](https://discourse.julialang.org/t/how-pkg-versioning-works/19933 "2019-01-22T15:03:27Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ExpandingMan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/expandingman/32/866_2.png) [@ExpandingMan](https://discourse.julialang.org/u/ExpandingMan)
#### Post date: [January 22, 2019, 3:03pm UTC](https://discourse.julialang.org/t/how-pkg-versioning-works/19933/1 "2019-01-22T15:03:27Z")

</div>

Hello all, I was looking through the `NEWS.md` and noticed that the `Pkg` code is now coming from the `Pkg` repo, rather than getting copied into `julia` or whatever it was that was happening previously.

This raised a number of questions in my mind about how the versioning of `Pkg` itself will work. I apologize if these have been asked already, but I did not see that anywhere.

- Will the latest version of `Pkg` at the time of a `julia` release be the `Pkg` used by that version of `julia` by default? (e.g. v1.1.3 would be the version in Julia 1.1)
- What’s the simplest way of upgrading `Pkg` independently from the Julia version? (e.g. in cases where one needs bug fixes in `Pkg` but the next `julia` is not released yet) Does it still require one to rebuild Julia?
- Is there any way of tracking the version of `Pkg` from within Julia itself the way one can do this for any other package?

Thanks all.

---

<div class="post-metadata">

### Author: ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)
#### Post date: [January 22, 2019, 3:16pm UTC](https://discourse.julialang.org/t/how-pkg-versioning-works/19933/2 "2019-01-22T15:16:25Z")

</div>

It is like any other dependency julia uses (OpenBLAS, LLVM, Libuv etc).

Currently, you can not upgrade it independently (at least not trivially).
