# How to add a development version of an unregistered package

**URL:** <https://discourse.julialang.org/t/how-to-add-a-development-version-of-an-unregistered-package/52611>\
**Category:** General Usage\
**Tags:** question\
**Created:** [December 30, 2020, 1:08pm UTC](https://discourse.julialang.org/t/how-to-add-a-development-version-of-an-unregistered-package/52611 "2020-12-30T13:08:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![compleat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/compleat/32/8958_2.png) [@compleat](https://discourse.julialang.org/u/compleat)\
**Post date:** [December 30, 2020, 1:08pm UTC](https://discourse.julialang.org/t/how-to-add-a-development-version-of-an-unregistered-package/52611/1 "2020-12-30T13:08:27Z")

</div>

Hello.

I know how to add a development version of a registered package

```julia
add PackageName#dev

```

Also, I know how to add an unregistered package

```julia
Pkg.add(url="<git path>/PackageName.jl")

```

However, I have tried lots of ways of trying to combine these to add a development version of an unregistered package, but noting I have tried has worked.

Is what I would like to do even possible?  
Thanks for any help

---

<div class="post-metadata">

**Author:** ![eliassno](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/eliassno/32/18917_2.png) [@eliassno](https://discourse.julialang.org/u/eliassno)\
**Post date:** [December 30, 2020, 1:28pm UTC](https://discourse.julialang.org/t/how-to-add-a-development-version-of-an-unregistered-package/52611/2 "2020-12-30T13:28:41Z")

</div>

Not sure why you use the Pkg REPL-mode when only specifying the git revision, but not for the url/unregistered package.

* * *

In the Pkg REPL-mode, you add the package with:

```julia
(@v1.5) pkg> add <git path>/PackageName.jl#dev

```

With `Pkg.add`, you provide the `rev` keyword argument as well to specify the git revision:

```julia
Pkg.add(url="<git path>/PackageName.jl", rev="dev")

```

---

<div class="post-metadata">

**Author:** ![compleat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/compleat/32/8958_2.png) [@compleat](https://discourse.julialang.org/u/compleat)\
**Post date:** [December 30, 2020, 1:30pm UTC](https://discourse.julialang.org/t/how-to-add-a-development-version-of-an-unregistered-package/52611/3 "2020-12-30T13:30:48Z")

</div>

Thanks so much! I looked for quite a while and could not find any explanation of that combination.
