# Getting latest version of Pkg?

**URL:** <https://discourse.julialang.org/t/getting-latest-version-of-pkg/13138>\
**Category:** General Usage\
**Tags:** package\
**Created:** [August 10, 2018, 2:05am UTC](https://discourse.julialang.org/t/getting-latest-version-of-pkg/13138 "2018-08-10T02:05:38Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [August 10, 2018, 10:26am UTC](https://discourse.julialang.org/t/getting-latest-version-of-pkg/13138/5 "2018-08-10T10:26:58Z")

</div>

In addition to the REPL mode (`pkg> add XLSX#master`) you can use `Pkg.add(PackageSpec(name = "XLSX", rev = "master"))`.

---

_[View the full topic](https://discourse.julialang.org/t/getting-latest-version-of-pkg/13138)._
