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 -g Enable generation of full debug info
128
129
130 -g <n> Set the level of debug info generation to <n>
131
132
133 --inline={yes|no}
134 Control whether inlining is permitted (overrides functions de‐
135 clared as @inline)
136
137
138 --check-bounds={yes|no}
139 Emit bounds checks always or never (ignoring declarations)
140
141
142 --math-mode={ieee|user}
143 Always use IEEE semantics for math (ignoring declarations), or
144 adhere to declarations in source code
145
146
147 --depwarn={yes|no|error}
148 Enable or disable syntax and method deprecation warnings ('er‐
149 ror' turns warnings into errors)
150
151
152 --warn-overwrite={yes|no}
153 Enable or disable method overwrite warnings
154
155
156 --output-o <name>
157 Generate an object file (including system image data)
158
159
160 --output-ji <name>
161 Generate a system image data file (.ji)
162
163
164 --output-bc <name>
165 Generate LLVM bitcode (.bc)
166
167
168 --output-incremental={yes|no}
169 Generate an incremental output file (rather than complete)
170
171
172 --code-coverage={none|user|all}, --code-coverage
173 Count executions of source lines (omitting setting is equivalent
174 to 'user')
175
176
177 --track-allocation={none|user|all}, --track-allocation
178 Count bytes allocated by each source line
179
180
182 ~/.julia/config/startup.jl
183 Per user startup file.
184
185 /etc/julia/startup.jl
186 System-wide startup file.
187
188
190 Please report any bugs using the GitHub issue tracker:
191 https://github.com/julialang/julia/issues?state=open
192
193
195 Contributors: https://github.com/JuliaLang/julia/graphs/contributors
196
197
198
199Julia 2013-12-10 JULIA(1)