# \#startup

**URL:** https://discourse.julialang.org/tag/startup/400.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Startup file not run on Windows 10?](https://discourse.julialang.org/t/startup-file-not-run-on-windows-10/127788)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 3\
**Last updated:** [April 7, 2025, 8:10pm UTC](https://discourse.julialang.org/t/startup-file-not-run-on-windows-10/127788 "2025-04-07T20:10:41Z")

</div>

I usually work on Linux, and here I have a .julia/config/startup.jl file which is run when I start julia. I have copied the content of this int my windows computer: C:\\Users\\Torkel\\.julia\\config\\startup.jl However, it …

---

## [How can different versions of julia in juliaup share a same \`startup.jl\` file?](https://discourse.julialang.org/t/how-can-different-versions-of-julia-in-juliaup-share-a-same-startup-jl-file/124948)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 4\
**Last updated:** [January 20, 2025, 8:30am UTC](https://discourse.julialang.org/t/how-can-different-versions-of-julia-in-juliaup-share-a-same-startup-jl-file/124948 "2025-01-20T08:30:05Z")

</div>

How can different versions of julia in juliaup share a same startup.jl file? For example, I have installed julia v1.11.2 and v1.10.7 in juliaup and they both appears in the JULIAUP\_DEPOT\_PATH, but the startup.jl files a…

---

## [Julia can only run as root--- why](https://discourse.julialang.org/t/julia-can-only-run-as-root-why/124905)

<div class="topic-metadata">

**Author:** [@MatFi](https://discourse.julialang.org/u/MatFi)\
**Replies:** 1\
**Last updated:** [January 18, 2025, 7:45pm UTC](https://discourse.julialang.org/t/julia-can-only-run-as-root-why/124905 "2025-01-18T19:45:40Z")

</div>

Hi, after some time I wanted to do something in Julia again, how ever I observe the following error when I start julia as normal user; ERROR: Unable to load dependent library /home/matfi/.julia/julia-1.11.2/bin/../lib/j…

---

## [Install/update packages from startup.jl](https://discourse.julialang.org/t/install-update-packages-from-startup-jl/121288)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 4\
**Last updated:** [October 14, 2024, 12:50pm UTC](https://discourse.julialang.org/t/install-update-packages-from-startup-jl/121288 "2024-10-14T12:50:43Z")

</div>

I am wondering if there is a robust solution to making sure that some packages are installed when startup.jl runs, periodically updating some (probably the same) packages. Eg one of these packages is Revise.jl, …

---

## [Startup.jl error with OhMyREPL.jl as of v1.11](https://discourse.julialang.org/t/startup-jl-error-with-ohmyrepl-jl-as-of-v1-11/121241)

<div class="topic-metadata">

**Author:** [@NonDairyNeutrino](https://discourse.julialang.org/u/NonDairyNeutrino)\
**Replies:** 2\
**Last updated:** [October 13, 2024, 4:15am UTC](https://discourse.julialang.org/t/startup-jl-error-with-ohmyrepl-jl-as-of-v1-11/121241 "2024-10-13T04:15:15Z")

</div>

As of v1.11, when using the recommended script to automatically start OhMyREPL.jl with Julia # ~/.julia/config/startup.jl atreplinit() do repl try @eval using OhMyREPL catch e @warn "error while …

---

## [Avoid namespace pollution from startup.jl](https://discourse.julialang.org/t/avoid-namespace-pollution-from-startup-jl/116743)

<div class="topic-metadata">

**Author:** [@PeterSimon](https://discourse.julialang.org/u/PeterSimon)\
**Replies:** 11\
**Last updated:** [July 8, 2024, 2:30pm UTC](https://discourse.julialang.org/t/avoid-namespace-pollution-from-startup-jl/116743 "2024-07-08T14:30:13Z")

</div>

I have startup.jl file that I’m mostly happy with. Any time Julia is updated and I start an interactive session without explicitly activating some environment, startup.jl adds a few key packages to the base environment.…

---

## [Investigating large latency on a constrained Windows environment](https://discourse.julialang.org/t/investigating-large-latency-on-a-constrained-windows-environment/114482)

<div class="topic-metadata">

**Author:** [@TimG](https://discourse.julialang.org/u/TimG)\
**Replies:** 85\
**Last updated:** [May 22, 2024, 2:21pm UTC](https://discourse.julialang.org/t/investigating-large-latency-on-a-constrained-windows-environment/114482 "2024-05-22T14:21:14Z")

</div>

On first start-up in the morning in VSCode, my code takes fully 7 minutes before executing the first line of my actual script (to read a csv file). using DataFrames using CSV using Dates using ZipArchives using GeoStats…

---

## [How to configurate bound checks at statup?](https://discourse.julialang.org/t/how-to-configurate-bound-checks-at-statup/39248)

<div class="topic-metadata">

**Author:** [@JosephPollacco](https://discourse.julialang.org/u/JosephPollacco)\
**Replies:** 4\
**Last updated:** [April 18, 2024, 11:26pm UTC](https://discourse.julialang.org/t/how-to-configurate-bound-checks-at-statup/39248 "2024-04-18T23:26:58Z")

</div>

For well tested code it will be nice to have an option at the startup which disables the check bounds. According to the book JULIA HIGH PERFORMACE this is possible with the following option: -checks-bounds=no Neverthel…

---

## [Can \`startup.jl\` set different startup options for different Julia installations?](https://discourse.julialang.org/t/can-startup-jl-set-different-startup-options-for-different-julia-installations/109507)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 17\
**Last updated:** [February 1, 2024, 3:41am UTC](https://discourse.julialang.org/t/can-startup-jl-set-different-startup-options-for-different-julia-installations/109507 "2024-02-01T03:41:01Z")

</div>

Two different versions of Julia are installed on Linux but there is only one ~/.julia/config/startup.jl. I want to set different startup options for the two versions, can I? And how? Thanks!

---

## [Atreplinit and DrWatson's quickactivate at startup.jl file](https://discourse.julialang.org/t/atreplinit-and-drwatsons-quickactivate-at-startup-jl-file/107969)

<div class="topic-metadata">

**Author:** [@mocalvao](https://discourse.julialang.org/u/mocalvao)\
**Replies:** 5\
**Last updated:** [December 24, 2023, 8:18pm UTC](https://discourse.julialang.org/t/atreplinit-and-drwatsons-quickactivate-at-startup-jl-file/107969 "2023-12-24T20:18:34Z")

</div>

Dear all, I would like to have a startup.jl file which, when Julia is called interactively, from the REPL, at a given directory, automatically: uses OhMyREPL, DrWatson and Revise packages activates a possible project …

---

## [Notebook-specific startup script in IJulia Notebooks in VS Code](https://discourse.julialang.org/t/notebook-specific-startup-script-in-ijulia-notebooks-in-vs-code/102283)

<div class="topic-metadata">

**Author:** [@elenev](https://discourse.julialang.org/u/elenev)\
**Replies:** 0\
**Last updated:** [July 31, 2023, 3:09am UTC](https://discourse.julialang.org/t/notebook-specific-startup-script-in-ijulia-notebooks-in-vs-code/102283 "2023-07-31T03:09:04Z")

</div>

When working with Jupyter notebooks, I prefer VS Code’s Jupyter extension over browser-based Notebook or JupyterLab. But it looks like VS Code’s implementation of Julia Jupyter notebooks is something different from IJuli…

---

## [Project Specific Startup.jl](https://discourse.julialang.org/t/project-specific-startup-jl/101947)

<div class="topic-metadata">

**Author:** [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)\
**Replies:** 3\
**Last updated:** [July 23, 2023, 9:22am UTC](https://discourse.julialang.org/t/project-specific-startup-jl/101947 "2023-07-23T09:22:39Z")

</div>

Hello, I am using DrWatson to manage some simulations for an upcoming conference. I am using some locally developed packages that do not include DrWatson in their dependencies. They create some complicated data structu…

---

## [How to run OhMyREPL.jl with startup.jl?](https://discourse.julialang.org/t/how-to-run-ohmyrepl-jl-with-startup-jl/101002)

<div class="topic-metadata">

**Author:** [@Hugo](https://discourse.julialang.org/u/Hugo)\
**Replies:** 4\
**Last updated:** [June 30, 2023, 5:54pm UTC](https://discourse.julialang.org/t/how-to-run-ohmyrepl-jl-with-startup-jl/101002 "2023-06-30T17:54:13Z")

</div>

Hello, all I decided to add the following piece of code to my startup.jl file to have Revise.jl and OhMyREPL.jl run from the get-go as I open the application import Pkg let pkgs = \["Revise", "OhMyREPL"\] for pkg…

---

## [Question on Starting Julia with Sys Image](https://discourse.julialang.org/t/question-on-starting-julia-with-sys-image/98686)

<div class="topic-metadata">

**Author:** [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)\
**Replies:** 1\
**Last updated:** [May 11, 2023, 5:51pm UTC](https://discourse.julialang.org/t/question-on-starting-julia-with-sys-image/98686 "2023-05-11T17:51:03Z")

</div>

I’ve created a system image following the example described here for OhMyREPL. I can now do the following, and it works! julia --sysimage=OMR-sysimage.so But typing that every time is a bit cumbersome. Can loading th…

---

## [Package load speed: Windows vs Linux](https://discourse.julialang.org/t/package-load-speed-windows-vs-linux/93039)

<div class="topic-metadata">

**Author:** [@tfiers](https://discourse.julialang.org/u/tfiers)\
**Replies:** 24\
**Last updated:** [March 28, 2023, 12:21pm UTC](https://discourse.julialang.org/t/package-load-speed-windows-vs-linux/93039 "2023-03-28T12:21:21Z")

</div>

I have a feeling that Julia package import times are significantly faster on Linux than on Windows. See e.g. this thread where: @giordano’s seven-year-old Linux laptop loads Unitful in 0.44 seconds my two-year-old Win…

---

## [Check if running in VS Code inside startup.jl](https://discourse.julialang.org/t/check-if-running-in-vs-code-inside-startup-jl/95346)

<div class="topic-metadata">

**Author:** [@airpmb](https://discourse.julialang.org/u/airpmb)\
**Replies:** 1\
**Last updated:** [February 28, 2023, 6:55pm UTC](https://discourse.julialang.org/t/check-if-running-in-vs-code-inside-startup-jl/95346 "2023-02-28T18:55:19Z")

</div>

Is there a way to determine, inside of startup.jl, whether a Julia REPL session is running inside of VS Code? Checking if Logging.current\_logger() isa VSCodeServer.VSCodeLogger seems to work once the REPL prompt is actu…

---

## [Social hub for Julia startuppers?](https://discourse.julialang.org/t/social-hub-for-julia-startuppers/93123)

<div class="topic-metadata">

**Author:** [@gvdr](https://discourse.julialang.org/u/gvdr)\
**Replies:** 5\
**Last updated:** [February 5, 2023, 11:18pm UTC](https://discourse.julialang.org/t/social-hub-for-julia-startuppers/93123 "2023-02-05T23:18:38Z")

</div>

I’m floating here an idea I started to formulate. It may be silly, sorry about that. Or it may be something that other have done already (so, thank you about it and sorry if I’m duplicating your effort). Has anybody eve…

---

## [Is \>5 min startup considered slow?](https://discourse.julialang.org/t/is-5-min-startup-considered-slow/69674)

<div class="topic-metadata">

**Author:** [@Bardo](https://discourse.julialang.org/u/Bardo)\
**Replies:** 24\
**Last updated:** [December 28, 2022, 10:06pm UTC](https://discourse.julialang.org/t/is-5-min-startup-considered-slow/69674 "2022-12-28T22:06:26Z")

</div>

Hi, Activating Extensions... Starting Julia Language server 2:20 Julia Language Server: Indexing packages... 8:12 VScode closed and started again Activating Extensions... Starting Julia Language server 0:42 Julia Lang…

---

## [Overriding (some?) key bindings in REPL does not seem to work](https://discourse.julialang.org/t/overriding-some-key-bindings-in-repl-does-not-seem-to-work/86830)

<div class="topic-metadata">

**Author:** [@HanD](https://discourse.julialang.org/u/HanD)\
**Replies:** 5\
**Last updated:** [September 6, 2022, 11:38am UTC](https://discourse.julialang.org/t/overriding-some-key-bindings-in-repl-does-not-seem-to-work/86830 "2022-09-06T11:38:33Z")

</div>

Hello! I’m trying to override a default keybinding in REPL, as suggested in the manual, with the following code in startup.jl: import REPL import REPL.LineEdit atreplinit() do repl my\_keys = Dict("^w" =\> (s,o...) …

---

## [Startup time in VSCode extraordinarily long](https://discourse.julialang.org/t/startup-time-in-vscode-extraordinarily-long/86386)

<div class="topic-metadata">

**Author:** [@MikolasVolek](https://discourse.julialang.org/u/MikolasVolek)\
**Replies:** 4\
**Last updated:** [August 27, 2022, 9:59am UTC](https://discourse.julialang.org/t/startup-time-in-vscode-extraordinarily-long/86386 "2022-08-27T09:59:21Z")

</div>

Hi, I wanted to share an issue that I keep encountering upon starting Julia in VSCode, hoping that I might not be the only one affected by it. Whenever I start VSCode, open a \*.jl file and try to run a line of code, it…

---

## [VS Code JuliaSyntax Error from Startup.jl](https://discourse.julialang.org/t/vs-code-juliasyntax-error-from-startup-jl/86166)

<div class="topic-metadata">

**Author:** [@nosewitz](https://discourse.julialang.org/u/nosewitz)\
**Replies:** 0\
**Last updated:** [August 23, 2022, 1:01am UTC](https://discourse.julialang.org/t/vs-code-juliasyntax-error-from-startup-jl/86166 "2022-08-23T01:01:57Z")

</div>

After messing about with my startup.jl file, running a Julia session in VS code threw the error pictured below I tested this and it’s caused by enable\_in\_core!(). This behavior is strictly in VSC and not the REPL, since …

---

## [Understanding the startup.jl file -- is there a environment-specific version?](https://discourse.julialang.org/t/understanding-the-startup-jl-file-is-there-a-environment-specific-version/77998)

<div class="topic-metadata">

**Author:** [@Jason\_Mercer](https://discourse.julialang.org/u/Jason_Mercer)\
**Replies:** 9\
**Last updated:** [April 20, 2022, 3:30am UTC](https://discourse.julialang.org/t/understanding-the-startup-jl-file-is-there-a-environment-specific-version/77998 "2022-04-20T03:30:18Z")

</div>

My understanding of the startup.jl file is that it applies to all Julia instances/environments and there is no way to apply different startup scripts to different environments. I tried including a local startup.jl file i…

---

## [Why loading a Package is slow (Julia 1.6)](https://discourse.julialang.org/t/why-loading-a-package-is-slow-julia-1-6/64868)

<div class="topic-metadata">

**Author:** [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Replies:** 1\
**Last updated:** [July 18, 2021, 7:00pm UTC](https://discourse.julialang.org/t/why-loading-a-package-is-slow-julia-1-6/64868 "2021-07-18T19:00:53Z")

</div>

I know that there has been a lot of conversation in the past about this, but most of the questions end with a response like “in Julia 1.6 the loading time will be much better”. Since we are in Julia 1.6 I would like to …

---

## [Slow Julia startup time after sysimage creation (and an unbelievable observation!)](https://discourse.julialang.org/t/slow-julia-startup-time-after-sysimage-creation-and-an-unbelievable-observation/44102)

<div class="topic-metadata">

**Author:** [@Marcell\_Havlik](https://discourse.julialang.org/u/Marcell_Havlik)\
**Replies:** 26\
**Last updated:** [June 24, 2021, 7:53am UTC](https://discourse.julialang.org/t/slow-julia-startup-time-after-sysimage-creation-and-an-unbelievable-observation/44102 "2021-06-24T07:53:19Z")

</div>

Hey Julianers, I found this: ➜ julia-awesomeness git:(master) ✗ time julia -e "" julia -e "" 0,10s user 0,09s system 181% cpu 0,110 total I built a sysimage and got these numbers: ➜ julia-awesomeness git:…

---

## [Automatically activating project on remote workers](https://discourse.julialang.org/t/automatically-activating-project-on-remote-workers/62034)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 1\
**Last updated:** [May 29, 2021, 8:27am UTC](https://discourse.julialang.org/t/automatically-activating-project-on-remote-workers/62034 "2021-05-29T08:27:03Z")

</div>

Starting Julia with multiple workers and an active project currently only activates the environment on the master process. Does it not make more sense to activate the project on all workers? jishnu:OffsetArrays.jl/ $ ju…

---

## [Software Developer at Julius Technologies, all experience levels - 100% Remote](https://discourse.julialang.org/t/software-developer-at-julius-technologies-all-experience-levels-100-remote/61696)

<div class="topic-metadata">

**Author:** [@Yadong\_Li](https://discourse.julialang.org/u/Yadong_Li)\
**Replies:** 0\
**Last updated:** [May 23, 2021, 10:32pm UTC](https://discourse.julialang.org/t/software-developer-at-julius-technologies-all-experience-levels-100-remote/61696 "2021-05-23T22:32:04Z")

</div>

Software Developer - Julius Technologies Location: Anywhere, 100% remote working. Your working hours need to have some overlap with the day time in the US Eastern time zone. Julius Technologies is a promising New York b…

---

## [Slow start up and package loading times](https://discourse.julialang.org/t/slow-start-up-and-package-loading-times/52639)

<div class="topic-metadata">

**Author:** [@Michael\_Barmann](https://discourse.julialang.org/u/Michael_Barmann)\
**Replies:** 42\
**Last updated:** [January 6, 2021, 1:40am UTC](https://discourse.julialang.org/t/slow-start-up-and-package-loading-times/52639 "2021-01-06T01:40:53Z")

</div>

I’m new to Julia, and I’m a little dismayed by what seems like excessively long times for starting up the kernel and and loading packages. First I timed how long it took for julia\> to appear in the REPL, starting from th…

---

## [Launch Jupyter kernel with -e "using SomePackage" flag](https://discourse.julialang.org/t/launch-jupyter-kernel-with-e-using-somepackage-flag/47980)

<div class="topic-metadata">

**Author:** [@tikej](https://discourse.julialang.org/u/tikej)\
**Replies:** 1\
**Last updated:** [October 8, 2020, 1:37pm UTC](https://discourse.julialang.org/t/launch-jupyter-kernel-with-e-using-somepackage-flag/47980 "2020-10-08T13:37:56Z")

</div>

Hi, I’m trying to setup Jupyter kernel with some automatically loaded packages as a matter of convenience. Lets say I want to have Julia Jupyter kernels for: data (Statistics, DataFrames), plotting(UnicodePlots, PyPlot)…
