# Installing an unregistered package

**URL:** <https://discourse.julialang.org/t/installing-an-unregistered-package/66050>\
**Category:** New to Julia\
**Tags:** package\
**Created:** [August 9, 2021, 2:23am UTC](https://discourse.julialang.org/t/installing-an-unregistered-package/66050 "2021-08-09T02:23:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rafiulnakib](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafiulnakib/32/27993_2.png) [@rafiulnakib](https://discourse.julialang.org/u/rafiulnakib)\
**Post date:** [August 9, 2021, 2:23am UTC](https://discourse.julialang.org/t/installing-an-unregistered-package/66050/1 "2021-08-09T02:23:53Z")

</div>

Hi all,

So I have been trying to install the this following package:

[https://github.com/FalafelGood/QuNet/tree/NewNet](https://github.com/FalafelGood/QuNet/tree/NewNet)

Every time I do so either using “add” or “dev”, the package does get installed but only the original version 0.1.0 and not the updated 0.1.1, which is what I am after. Can anyone please guide me how to get it done?

---

<div class="post-metadata">

**Author:** ![sostock](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sostock/32/5546_2.png) [@sostock](https://discourse.julialang.org/u/sostock)\
**Post date:** [August 9, 2021, 6:40am UTC](https://discourse.julialang.org/t/installing-an-unregistered-package/66050/2 "2021-08-09T06:40:57Z")

</div>

The `main` branch of that repository is still at version 0.1.0. To get the `NewNet` branch from your link, you need to specify it, i.e.,

```julia
pkg> add https://github.com/FalafelGood/QuNet#NewNet

```

---

<div class="post-metadata">

**Author:** ![rafiulnakib](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafiulnakib/32/27993_2.png) [@rafiulnakib](https://discourse.julialang.org/u/rafiulnakib)\
**Post date:** [August 9, 2021, 7:34am UTC](https://discourse.julialang.org/t/installing-an-unregistered-package/66050/3 "2021-08-09T07:34:13Z")

</div>

Okay, thanks so much, it worked!

Now when I use “using QuNet”, it works.

But now I am stuck on something else, I need to access the package folder (it’s in ~/.julia folder somewhere in my machine if I am not wrong?) but I can’t seem to find it anywhere. I run macOS.  
Could you please help? Thanks in advance!

---

<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:** [August 9, 2021, 7:34am UTC](https://discourse.julialang.org/t/installing-an-unregistered-package/66050/4 "2021-08-09T07:34:51Z")

</div>

Use `dev https://github.com/FalafelGood/QuNet#NewNet` and it will go into `.julia/dev/QuNet`.

---

<div class="post-metadata">

**Author:** ![sostock](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sostock/32/5546_2.png) [@sostock](https://discourse.julialang.org/u/sostock)\
**Post date:** [August 9, 2021, 8:18am UTC](https://discourse.julialang.org/t/installing-an-unregistered-package/66050/5 "2021-08-09T08:18:26Z")

</div>

For me, that doesn’t work:

```julia
pkg> dev https://github.com/FalafelGood/QuNet#NewNet
ERROR: rev argument not supported by `develop`; consider using `add` instead

```

Instead, you can:

- Either `git clone` the repo to any place you want, check out the `NewNet` branch, and

```julia
pkg> dev path/to/my/clone

```

- Or use `dev` without the branch, and change it afterwards (using the shell, either from wihin Julia or from a separate terminal window):

```julia
pkg> dev https://github.com/FalafelGood/QuNet
[...]

shell> cd ~/.julia/dev/QuNet
/home/sebastian/.julia/dev/QuNet

shell> git checkout NewNet
Branch 'NewNet' set up to track remote branch 'NewNet' from 'origin'.
Switched to a new branch 'NewNet'

```

---

<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:** [August 9, 2021, 8:44am UTC](https://discourse.julialang.org/t/installing-an-unregistered-package/66050/7 "2021-08-09T08:44:55Z")

</div>

Oh yeah, forgot that, so you would just do `dev https://github.com/FalafelGood/QuNet` and check out that branch in the resulting git repo.
