# How can I copy a Julia 1.0 installation from my computer to a computer without Internet ?

**URL:** <https://discourse.julialang.org/t/how-can-i-copy-a-julia-1-0-installation-from-my-computer-to-a-computer-without-internet/14855>\
**Category:** New to Julia\
**Created:** [September 12, 2018, 12:43pm UTC](https://discourse.julialang.org/t/how-can-i-copy-a-julia-1-0-installation-from-my-computer-to-a-computer-without-internet/14855 "2018-09-12T12:43:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![vladimir](https://avatars.discourse-cdn.com/v4/letter/v/94ad74/32.png) [@vladimir](https://discourse.julialang.org/u/vladimir)\
**Post date:** [September 12, 2018, 12:43pm UTC](https://discourse.julialang.org/t/how-can-i-copy-a-julia-1-0-installation-from-my-computer-to-a-computer-without-internet/14855/1 "2018-09-12T12:43:04Z")

</div>

How can I copy a Julia 1.0 installation from my computer to a computer without Internet ?  
Can I select arbitrary directories for Julia and packages (instead of C:\users\<username\>.julia) on the target computer?  
Can you provide detailed instructions ?

---

<div class="post-metadata">

**Author:** ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)\
**Post date:** [September 18, 2018, 5:58pm UTC](https://discourse.julialang.org/t/how-can-i-copy-a-julia-1-0-installation-from-my-computer-to-a-computer-without-internet/14855/2 "2018-09-18T17:58:38Z")

</div>

Can you copy the installer file instead?

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [September 18, 2018, 6:09pm UTC](https://discourse.julialang.org/t/how-can-i-copy-a-julia-1-0-installation-from-my-computer-to-a-computer-without-internet/14855/3 "2018-09-18T18:09:07Z")

</div>

I think the OP wants to transfer the installation with all the packages installed so far.  
I’m not sure if copying ~/.julia will work, but that is where all the stuff resides.

---

<div class="post-metadata">

**Author:** ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)\
**Post date:** [September 18, 2018, 6:21pm UTC](https://discourse.julialang.org/t/how-can-i-copy-a-julia-1-0-installation-from-my-computer-to-a-computer-without-internet/14855/4 "2018-09-18T18:21:47Z")

</div>

I think you’re right. Then I think copying over the entire `~/.julia` would do it (although for OP it should be in windows directory format).

---

<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:** [September 18, 2018, 7:00pm UTC](https://discourse.julialang.org/t/how-can-i-copy-a-julia-1-0-installation-from-my-computer-to-a-computer-without-internet/14855/5 "2018-09-18T19:00:57Z")

</div>

I don’t know if this question is about the julia binaries and `share` or just the depot path, but here are steps that should definitley work if you did a standard installation with binaries:

1. Copy everything in the directory containing `bin/julia`. For example, if `which julia` returns `/opt/julia/bin/julia` then you’ll want to copy everything in `/opt/julia`. Explictly, the directory you want to copy is given by `$(dirname $(which julia))/..`
2. Copy everything in `$HOME/.julia` except for `.julia/compiled` (you might be able to still used what’s in `compiled` but I recommend recompiling on your new machine).

If you used a default installation this should definitely work.

---

<div class="post-metadata">

**Author:** ![RoyiAvital](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/royiavital/32/571_2.png) [@RoyiAvital](https://discourse.julialang.org/u/RoyiAvital)\
**Post date:** [September 18, 2018, 11:12pm UTC](https://discourse.julialang.org/t/how-can-i-copy-a-julia-1-0-installation-from-my-computer-to-a-computer-without-internet/14855/6 "2018-09-18T23:12:05Z")

</div>

This is why I’m hoping for a Portable Flavor ([PortableApps](http://portableapps.com) Style maybe?) of Julia Pro once it is updated to `1.x`.

---

<div class="post-metadata">

**Author:** ![vladimir](https://avatars.discourse-cdn.com/v4/letter/v/94ad74/32.png) [@vladimir](https://discourse.julialang.org/u/vladimir)\
**Post date:** [September 25, 2018, 1:47pm UTC](https://discourse.julialang.org/t/how-can-i-copy-a-julia-1-0-installation-from-my-computer-to-a-computer-without-internet/14855/7 "2018-09-25T13:47:24Z")

</div>

Yes, I meant to have the portable Julia installation which I can copy to any place in a production Windows computer. From some reason I cannot use C:\Users\<user\>.julia directory in the production computer.

---

<div class="post-metadata">

**Author:** ![DominiqueMakowski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dominiquemakowski/32/51410_2.png) [@DominiqueMakowski](https://discourse.julialang.org/u/DominiqueMakowski)\
**Post date:** [September 25, 2018, 1:58pm UTC](https://discourse.julialang.org/t/how-can-i-copy-a-julia-1-0-installation-from-my-computer-to-a-computer-without-internet/14855/8 "2018-09-25T13:58:39Z")

</div>

A portable version would be awesome indeed 🙌

---

<div class="post-metadata">

**Author:** ![xuxu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xuxu/32/38302_2.png) [@xuxu](https://discourse.julialang.org/u/xuxu)\
**Post date:** [October 19, 2022, 10:16am UTC](https://discourse.julialang.org/t/how-can-i-copy-a-julia-1-0-installation-from-my-computer-to-a-computer-without-internet/14855/9 "2022-10-19T10:16:15Z")

</div>

It really helps, thanks!
