JULIA(1)
๐ JULIA(1) โ the manual, but make it slay ๐
okay bestie, gather round, because we're about to read the manual for julia, a high-level, high-performance dynamic programming language for technical computing. yes it's a whole manual. yes it's long. no we're not skipping anything. let's get into it ๐
โจ NAME โจ
julia โ a high-level, high-performance dynamic programming language for technical computing ๐ฆ
โจ SYNOPSIS โจ
julia [OPTIONS...] -- [PROGRAMFILE] [ARGS...]
so here's the vibe: if you hand Julia a Julia source file as a PROGRAMFILE (and you can optionally pass ARGS after it), Julia runs that program and then dips. periodt. ๐
โจ DESCRIPTION โจ
Julia is a high-level, high-performance dynamic programming language for technical computing, and its syntax feels super familiar if you've ever touched other technical computing environments. no cap. ๐ธ
It's got a sophisticated compiler, distributed parallel execution, numerical accuracy, and an extensive mathematical function library. and the library? largely written in Julia itself, and it also integrates mature, best-of-breed C and Fortran libraries for linear algebra, random number generation, signal processing, and string processing. iconic behavior honestly. โจ
on top of all that, the Julia developer community is contributing a number of external packages through Julia's built-in package manager at a rapid pace. we love to see it. ๐ซถ
Julia programs are organized around multiple dispatch โ you define functions and overload them for different combinations of argument types, and those argument types can be user-defined too. it's giving main character energy. ๐
for a more in-depth discussion of the rationale and advantages of Julia over other systems, please see the online manual: https://docs.julialang.org
โจ COMMAND-LINE OPTIONS โจ
-v,--versionโ Display version information ๐-h,--helpโ Print command-line options (this message) ๐--help-hiddenโ Print uncommon options not shown by-h๐--project[=<dir>/@.]โ Set<dir>as the active project/environment. The default@.option will search through parent directories until aProject.tomlorJuliaProject.tomlfile is found. ๐-J,--sysimage <file>โ Start up with the given system image file ๐ผ๏ธ-H,--home <dir>โ Set location ofjuliaexecutable ๐--startup-file={yes*|no}โ LoadJULIA_DEPOT_PATH/config/startup.jl; ifJULIA_DEPOT_PATHenvironment variable is unset, load~/.julia/config/startup.jlโ๏ธ--handle-signals={yes*|no}โ Enable or disable Julia's default signal handlers ๐ถ--sysimage-native-code={yes*|no}โ Use native code from system image if available ๐พ--compiled-modules={yes*|no|existing|strict}โ Enable or disable incremental precompilation of modules. Theexistingoption allows use of existing compiled modules that were previously precompiled, but disallows creation of new precompile files. Thestrictoption is similar, but will error if no precompile file is found. ๐ค--pkgimages={yes*|no|existing}โ Enable or disable usage of native code caching in the form of pkgimages. Theexistingoption allows use of existing pkgimages but disallows creation of new ones ๐ผ๏ธ-e,--eval <expr>โ Evaluate<expr>๐งฎ-E,--print <expr>โ Evaluate<expr>and display the result ๐จ๏ธ-m,--module <Package> [args]โ Run entry point ofPackage(@mainfunction) withargs๐-L,--load <file>โ Load<file>immediately on all processors ๐-t,--threads {auto|N[,auto|M]}โ Enable N[+M] threads; N threads are assigned to thedefaultthreadpool, and if M is specified, M threads are assigned to theinteractivethreadpool;autotries to infer a useful default number of threads to use but the exact behavior might change in the future. Currently sets N to the number of CPUs assigned to this Julia process based on the OS-specific affinity assignment interface if supported (Linux and Windows) or to the number of CPU threads if not supported (MacOS) or if process affinity is not configured, and sets M to 1. ๐งต--gcthreads=N[,M]โ Use N threads for the mark phase of GC and M (0 or 1) threads for the concurrent sweeping phase of GC. N is set to the number of compute threads and M is set to 0 if unspecified. ๐๏ธ-p,--procs {N|auto}โ Integer value N launches N additional local worker processes.autolaunches as many workers as the number of local CPU threads (logical cores) ๐ฏ--machine-file <file>โ Run processes on hosts listed in<file>๐ฅ๏ธ-i,--interactiveโ Interactive mode; REPL runs andisinteractive()is true ๐ฎ-q,--quietโ Quiet startup: no banner, suppress REPL warnings ๐คซ--banner={yes|no|short|auto*}โ Enable or disable startup banner ๐--color={yes|no|auto*}โ Enable or disable color text ๐--history-file={yes*|no}โ Load or save history ๐--depwarn={yes|no*|error}โ Enable or disable syntax and method deprecation warnings (errorturns warnings into errors) โ ๏ธ--warn-overwrite={yes|no*}โ Enable or disable method overwrite warnings ๐--warn-scope={yes*|no}โ Enable or disable warning for ambiguous top-level scope ๐ญ-C,--cpu-target=<target>โ Limit usage of CPU features up to<target>; set tohelpto see the available options ๐ฏ-O,--optimize={0|1|2*|3}โ Set the optimization level (level 3 if-Ois used without a level) โก--min-optlevel={0*|1|2|3}โ Set a lower bound on the optimization level ๐-g,--debug-info={0|1*|2}โ Set the level of debug info generation (level 2 if-gis used without a level) ๐--inline={yes*|no}โ Control whether inlining is permitted, including overriding@inlinedeclarations ๐งฉ--check-bounds={yes|no|auto*}โ Emit bounds checks always, never, or respect@inboundsdeclarations ๐ง--math-mode={ieee|user*}โ Always followieeefloating point semantics or respect@fastmathdeclarations ๐ข--polly={yes*|no}โ Enable or disable the polyhedral optimizer Polly (overrides@pollydeclaration) ๐ฆ--code-coverage[={none*|user|all}]โ Count executions of source lines (omitting setting is equivalent touser) ๐--code-coverage=@<path>โ Count executions of source lines in a file or files under a given directory. A@must be placed before the path to indicate this option. A@with no path will track the current directory. ๐--code-coverage=tracefile.infoโ Append coverage information to the LCOV tracefile (filename supports format tokens) ๐--track-allocation[={none*|user|all}]โ Count bytes allocated by each source line (omitting setting is equivalent touser) ๐งฎ--track-allocation=@<path>โ Count bytes but only in files that fall under the given file path/directory. The@prefix is required to select this option. A@with no path will track the current directory. ๐--bug-report=KINDโ Launch a bug report session. It can be used to start a REPL, run a script, or evaluate expressions. It first tries to use BugReporting.jl installed in current environment and fallbacks to the latest compatible BugReporting.jl if not. For more information, see--bug-report=help. ๐--heap-size-hint=<size>โ Forces garbage collection if memory usage is higher than the given value. The value may be specified as a number of bytes, optionally in units of KB, MB, GB, or TB, or as a percentage of physical memory with %. ๐๏ธ--compile={yes*|no|all|min}โ Enable or disable JIT compiler, or request exhaustive or minimal compilation ๐ ๏ธ--output-o <name>โ Generate an object file (including system image data) ๐ฆ--output-ji <name>โ Generate a system image data file (.ji) ๐๏ธ--strip-metadataโ Remove docstrings and source location info from system image ๐งน--strip-irโ Remove IR (intermediate representation) of compiled functions ๐๏ธ--output-unopt-bc <name>โ Generate unoptimized LLVM bitcode (.bc) ๐--output-bc <name>โ Generate LLVM bitcode (.bc) ๐--output-asm <name>โ Generate an assembly file (.s) ๐--output-incremental={yes|no*}โ Generate an incremental output file (rather than complete) ๐--trace-compile={stderr|name}โ Print precompile statements for methods compiled during execution or save to stderr or a path. Methods that were recompiled are printed in yellow or with a trailing comment if color is not supported ๐--trace-compile-timing=โ If--trace-compileis enabled show how long each took to compile in ms โฑ๏ธ--trace-dispatch={stderr|name}โ Print precompile statements for methods dispatched during execution or save to stderr or a path. ๐ฏ--task-metrics={yes|no*}โ Enable the collection of per-task metrics. ๐-image-codegenโ Force generate code in imaging mode ๐ผ๏ธ--permalloc-pkgimg={yes|no*}โ Copy the data section of package images into memory ๐พ
โจ FILES AND ENVIRONMENT โจ
See https://docs.julialang.org/en/v1/manual/environment-variables/ ๐
โจ BUGS โจ
Please report any bugs using the GitHub issue tracker: https://github.com/julialang/julia/issues?state=open ๐
โจ AUTHORS โจ
Contributors: https://github.com/JuliaLang/julia/graphs/contributors ๐
โจ INTERNET RESOURCES โจ
- Website: https://julialang.org/ ๐
- Documentation: https://docs.julialang.org/ ๐
- Install: https://julialang.org/install/ โฌ๏ธ
โจ LICENSING โจ
Julia is an open-source project. It is made available under the MIT license. ๐
JULIA โ version dated 2023-09-01 โ this manual page is JULIA(1). and that's the whole thing, bestie. you're officially a Julia girlie now. go compile something iconic. ๐โจ๐๐ฆ๐ธ๐
๐ซถ๐ญ๐ฅ๐๐โญ๐๐๐๐ง๐
๐ฆ where this page comes from
- fedora 44: julia 1.12.1-1.fc44 ยท MIT and Apache-2.0 WITH LLVM-exception
- nixos 26.05: julia 1.12.6
- nixos 26.05: julia-bin 1.12.6
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms