# Question on Starting Julia with Sys Image

**URL:** <https://discourse.julialang.org/t/question-on-starting-julia-with-sys-image/98686>\
**Category:** General Usage\
**Tags:** startup, sysimage\
**Created:** [May 11, 2023, 3:28pm UTC](https://discourse.julialang.org/t/question-on-starting-julia-with-sys-image/98686 "2023-05-11T15:28:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TI36XPro](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ti36xpro/32/33658_2.png) [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)\
**Post date:** [May 11, 2023, 3:28pm UTC](https://discourse.julialang.org/t/question-on-starting-julia-with-sys-image/98686/1 "2023-05-11T15:28:39Z")

</div>

I’ve created a system image following the example described [here](https://julialang.github.io/PackageCompiler.jl/dev/examples/ohmyrepl.html#manual-omr) for OhMyREPL.

I can now do the following, and it works!

```julia
julia --sysimage=OMR-sysimage.so

```

But typing that every time is a bit cumbersome.

Can loading the image be somehow incorporated into `startup.jl`? Or do I need to redefine the `julia` command somehow (like in the `.bashrc`?).

---

<div class="post-metadata">

**Author:** ![ctrekker](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ctrekker/32/49676_2.png) [@ctrekker](https://discourse.julialang.org/u/ctrekker)\
**Post date:** [May 11, 2023, 5:51pm UTC](https://discourse.julialang.org/t/question-on-starting-julia-with-sys-image/98686/2 "2023-05-11T17:51:03Z")

</div>

I would recommend using an alias for the Julia command defined inside `.bashrc`.

To alias your Julia command, add the following line in your `.bashrc`:

```bash
alias julia="julia --sysimage=/full/path/to/sysimage.so"

```
