# 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:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![YongHee-Kim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yonghee-kim/32/5965_2.png) [@YongHee-Kim](https://discourse.julialang.org/u/YongHee-Kim)\
**Post date:** [August 10, 2018, 2:05am UTC](https://discourse.julialang.org/t/getting-latest-version-of-pkg/13138/1 "2018-08-10T02:05:38Z")

</div>

I am trying to migrate to Julia 0.7 and since 0.7 is releases just yesterday, some packages latest release didn’t support 0.7 but already fixed on master.

So I’ve tried to use `Pkg.checkout("XLSX")` but `Checkout` seems deprecated a long ago.

It would be nice to know a way to get a package master in Julia 0.7

Thank you!

---

<div class="post-metadata">

**Author:** ![kevbonham](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kevbonham/32/216165_2.png) [@kevbonham](https://discourse.julialang.org/u/kevbonham)\
**Post date:** [August 10, 2018, 2:35am UTC](https://discourse.julialang.org/t/getting-latest-version-of-pkg/13138/2 "2018-08-10T02:35:44Z")

</div>

Watch the video from juliacon on the new package manager. And [the docs](https://docs.julialang.org/en/stable/stdlib/Pkg/) are quite a good read.

---

<div class="post-metadata">

**Author:** ![00vareladavid](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/00vareladavid/32/23521_2.png) [@00vareladavid](https://discourse.julialang.org/u/00vareladavid)\
**Post date:** [August 10, 2018, 2:56am UTC](https://discourse.julialang.org/t/getting-latest-version-of-pkg/13138/3 "2018-08-10T02:56:12Z")

</div>

I think you are looking for

```julia
pkg> add XLSX#master

```

---

<div class="post-metadata">

**Author:** ![YongHee-Kim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yonghee-kim/32/5965_2.png) [@YongHee-Kim](https://discourse.julialang.org/u/YongHee-Kim)\
**Post date:** [August 10, 2018, 3:48am UTC](https://discourse.julialang.org/t/getting-latest-version-of-pkg/13138/4 "2018-08-10T03:48:11Z")

</div>

So I have to change REPL mode to fetch from the master. Thank you 🙂

---

<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"))`.
