Understanding the startup.jl file -- is there a environment-specific version?

I don’t know about a builtin way to do this. But you could add the following in your global startup.jl:

let
    local_startup = joinpath(dirname(Base.active_project()), "startup.jl")
    if isfile(local_startup)
        include(local_startup)
    end
end

If you had this problem, you can set the environment variable JULIA_DEPOT_PATH to modify where your Julia packages are installed and where your global startup.jl is read from.

8 Likes