Where is startup.jl (v1.2)?

I was reading a thread that shows how to add things like Revise and OhMyREPL to your startup.jl file so that they are available upon starting Julia but I can’t find my startup.jl file. I am running Julia 1.2 on Windows 10.

When I navigate to C:\Users\mthel\.julia there is no config folder:

PS C:\Users\mthel\.julia> ls

    Directory: C:\Users\mthel\.julia

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----         9/5/2019   1:52 PM                clones
d-----         9/5/2019   6:50 AM                compiled
d-----        7/19/2019   7:41 AM                conda
d-----         8/1/2019   6:38 AM                dev
d-----         9/5/2019   6:50 AM                environments
d-----        7/12/2019   8:04 AM                logs
d-----         9/5/2019   1:35 PM                packages
d-----        7/24/2019   8:53 PM                prefs
d-----        7/12/2019   8:04 AM                registries

I’ve checked all of these folders and none of them contain a startup.jl file.

1 Like

I don’t think it is created when it does not exist, ie you need to just make a file with that path.


Thanks, @Tamas_Papp, that worked.