Core.nothing —ConstantnothingThe singleton instance of typeNothing, used by convention when there is no value to return (as in a Cvoid function) or when a variable or field holds no value.
A return value ofnothing is not displayed by the REPL and similar interactive environments.
See also:isnothing,something,missing.
Base.PROGRAM_FILE —ConstantBase.C_NULL —ConstantBase.VERSION —ConstantVERSIONAVersionNumber object describing which version of Julia is in use. See alsoVersion Number Literals.
Base.DEPOT_PATH —ConstantDEPOT_PATHA stack of "depot" locations where the package manager, as well as Julia's code loading mechanisms, look for package registries, installed packages, named environments, repo clones, cached compiled package images, and configuration files. By default it includes:
~/.julia where~ is the user home as appropriate on the system;/usr/local/share/julia;/usr/share/julia.SoDEPOT_PATH might be:
[joinpath(homedir(), ".julia"), "/usr/local/share/julia", "/usr/share/julia"]The first entry is the "user depot" and should be writable by and owned by the current user. The user depot is where: registries are cloned, new package versions are installed, named environments are created and updated, package repos are cloned, newly compiled package image files are saved, log files are written, development packages are checked out by default, and global configuration data is saved. Later entries in the depot path are treated as read-only and are appropriate for registries, packages, etc. installed and managed by system administrators.
DEPOT_PATH is populated based on theJULIA_DEPOT_PATH environment variable if set.
DEPOT_PATH contents
Each entry inDEPOT_PATH is a path to a directory which contains subdirectories used by Julia for various purposes. Here is an overview of some of the subdirectories that may exist in a depot:
artifacts: Contains content that packages use for which Pkg manages the installation of.clones: Contains full clones of package repos. Maintained byPkg.jl and used as a cache.config: Contains julia-level configuration such as astartup.jl.compiled: Contains precompiled*.ji files for packages. Maintained by Julia.dev: Default directory forPkg.develop. Maintained byPkg.jl and the user.environments: Default package environments. For instance the global environment for a specific julia version. Maintained byPkg.jl.logs: Contains logs ofPkg andREPL operations. Maintained byPkg.jl and Julia.packages: Contains packages, some of which were explicitly installed and some which are implicit dependencies. Maintained byPkg.jl.registries: Contains package registries. By default onlyGeneral. Maintained byPkg.jl.scratchspaces: Contains content that a package itself installs via theScratch.jl package.Pkg.gc() will delete content that is known to be unused.Packages that want to store content should use thescratchspaces subdirectory viaScratch.jl instead of creating new subdirectories in the depot root.
See alsoJULIA_DEPOT_PATH, andCode Loading.
Base.LOAD_PATH —ConstantLOAD_PATHAn array of paths forusing andimport statements to consider as project environments or package directories when loading code. It is populated based on theJULIA_LOAD_PATH environment variable if set; otherwise it defaults to["@", "@v#.#", "@stdlib"]. Entries starting with@ have special meanings:
@ refers to the "current active environment", the initial value of which is initially determined by theJULIA_PROJECT environment variable or the--project command-line option.
@stdlib expands to the absolute path of the current Julia installation's standard library directory.
@name refers to a named environment, which are stored in depots (seeJULIA_DEPOT_PATH) under theenvironments subdirectory. The user's named environments are stored in~/.julia/environments so@name would refer to the environment in~/.julia/environments/name if it exists and contains aProject.toml file. Ifname contains# characters, then they are replaced with the major, minor and patch components of the Julia version number. For example, if you are running Julia 1.2 then@v#.# expands to@v1.2 and will look for an environment by that name, typically at~/.julia/environments/v1.2.
The fully expanded value ofLOAD_PATH that is searched for projects and packages can be seen by calling theBase.load_path() function.
See alsoJULIA_LOAD_PATH,JULIA_PROJECT,JULIA_DEPOT_PATH, andCode Loading.
Base.Sys.BINDIR —ConstantSys.BINDIR::StringA string containing the full path to the directory containing thejulia executable.
Base.Sys.CPU_THREADS —ConstantSys.CPU_THREADS::IntThe number of logical CPU cores available in the system, i.e. the number of threads that the CPU can run concurrently. Note that this is not necessarily the number of CPU cores, for example, in the presence ofhyper-threading.
See Hwloc.jl or CpuId.jl for extended information, including number of physical cores.
sourceBase.Sys.WORD_SIZE —ConstantBase.Sys.KERNEL —ConstantSys.KERNEL::SymbolA symbol representing the name of the operating system, as returned byuname of the build configuration.
Base.Sys.ARCH —ConstantBase.Sys.MACHINE —ConstantSee also:
Settings
This document was generated withDocumenter.jl version 1.16.0 onThursday 20 November 2025. Using Julia version 1.12.2.