1
2JULIA(1) Julia Programmers' Reference Guide JULIA(1)
3
4
5
7 julia - high-level, high-performance dynamic programming language for
8 technical computing
9
10
12 julia [option] [program] [args..]
13
14
16 Julia is a high-level, high-performance dynamic programming language
17 for technical computing, with syntax that is familiar to users of other
18 technical computing environments. It provides a sophisticated com‐
19 piler, distributed parallel execution, numerical accuracy, and an ex‐
20 tensive mathematical function library. The library, largely written in
21 Julia itself, also integrates mature, best-of-breed C and Fortran li‐
22 braries for linear algebra, random number generation, signal process‐
23 ing, and string processing. In addition, the Julia developer community
24 is contributing a number of external packages through Julia's built-in
25 package manager at a rapid pace. Julia programs are organized around
26 multiple dispatch; by defining functions and overloading them for dif‐
27 ferent combinations of argument types, which can also be user-defined.
28 For a more in-depth discussion of the rationale and advantages of Julia
29 over other systems, please see the online manual: https://docs.ju‐
30 lialang.org
31
32 If a Julia source file is given as a program (optionally followed by
33 arguments in args) Julia will execute the program and exit.
34
35
37 -v, --version
38 Display version information
39
40
41 -h, --help
42 Print help message
43
44
45 --project[=<dir>/@.]
46 Set <dir> as the home project/environment. The default @. option
47 will search through parent directories until a Project.toml or
48 JuliaProject.toml file is found.
49
50
51 -J, --sysimage <file>
52 Start up with the given system image file
53
54
55 --sysimage-native-code={yes|no}
56 Use precompiled code from system image if available
57
58
59 -H, --home <dir>
60 Set location of julia executable
61
62
63 --startup-file={yes|no}
64 Load ~/.julia/config/startup.jl
65
66
67 --handle-signals={yes|no}
68 Enable or disable Julia's default signal handlers
69
70
71 -e, --eval <expr>
72 Evaluate <expr>
73
74
75 -E, --print <expr>
76 Evaluate <expr> and display the result
77
78
79 -L, --load <file>
80 Load <file> immediately on all processors
81
82
83 -t, --threads <n>
84 Enable n threads
85
86
87 -p, --procs <n>
88 Run n local processes
89
90
91 --machine-file <file>
92 Run processes on hosts listed in <file>
93
94
95 -i Interactive mode; REPL runs and isinteractive() is true
96
97
98 --banner={yes|no|auto}
99 Enable or disable startup banner
100
101
102 --color={yes|no|auto}
103 Enable or disable color text
104
105
106 --history-file={yes|no}
107 Load or save history
108
109
110 --compile={yes|no|all|min}
111 Enable or disable compiler, or request exhaustive or minimal
112 compilation
113
114
115 -C, --cpu-target=<target>
116 Limit usage of cpu features up to <target>
117
118
119 -O, --optimize
120 Run time-intensive code optimizations
121
122
123 -O <n>, --optimize=<n>
124 Set the optimization level to <n>
125
126
127 --min-optlevel=<n>
128 Set the minimum optimization level to <n>, overriding per-module
129 settings
130
131
132 -g Enable generation of full debug info
133
134
135 -g <n> Set the level of debug info generation to <n>
136
137
138 --inline={yes|no}
139 Control whether inlining is permitted (overrides functions de‐
140 clared as @inline)
141
142
143 --check-bounds={yes|no|auto}
144 Emit bounds checks always, never, or respect @inbounds declara‐
145 tions
146
147
148 --math-mode={ieee|user}
149 Always use IEEE semantics for math (ignoring declarations), or
150 adhere to declarations in source code
151
152
153 --depwarn={yes|no|error}
154 Enable or disable syntax and method deprecation warnings ('er‐
155 ror' turns warnings into errors)
156
157
158 --warn-overwrite={yes|no}
159 Enable or disable method overwrite warnings
160
161
162 --output-o <name>
163 Generate an object file (including system image data)
164
165
166 --output-ji <name>
167 Generate a system image data file (.ji)
168
169
170 --output-bc <name>
171 Generate LLVM bitcode (.bc)
172
173
174 --output-incremental={yes|no}
175 Generate an incremental output file (rather than complete)
176
177
178 --code-coverage={none|user|all}, --code-coverage
179 Count executions of source lines (omitting setting is equivalent
180 to 'user')
181
182
183 --track-allocation={none|user|all}, --track-allocation
184 Count bytes allocated by each source line
185
186
188 ~/.julia/config/startup.jl
189 Per user startup file.
190
191 /etc/julia/startup.jl
192 System-wide startup file.
193
194
196 Please report any bugs using the GitHub issue tracker:
197 https://github.com/julialang/julia/issues?state=open
198
199
201 Contributors: https://github.com/JuliaLang/julia/graphs/contributors
202
203
204
205Julia 2013-12-10 JULIA(1)