# Save complete session snapshot?

**URL:** <https://discourse.julialang.org/t/save-complete-session-snapshot/24537>\
**Category:** Tooling\
**Created:** [May 23, 2019, 7:08pm UTC](https://discourse.julialang.org/t/save-complete-session-snapshot/24537 "2019-05-23T19:08:19Z")\
**Posts on this page:** 1\
**Showing post:** 11

<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:** [May 26, 2019, 8:18am UTC](https://discourse.julialang.org/t/save-complete-session-snapshot/24537/11 "2019-05-26T08:18:33Z")

</div>

Saving a snapshot is pretty much exactly how the sysimg that is shipped with Julia is built.

> <https://github.com/JuliaLang/julia/blob/e39f498aca58abb8aecac34d329d7de9a0cead02/sysimage.mk#L75-L82>

in the Makefile and the `contrib/generate_precompile.jl` is what we put into the sysimg:

> <https://github.com/JuliaLang/julia/blob/master/contrib/generate_precompile.jl>

Where the REPL gets started, a few things gets evaluated and some Pkg commands are run. Then a snapshot of that is saved.

---

_[View the full topic](https://discourse.julialang.org/t/save-complete-session-snapshot/24537)._
