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
20 extensive mathematical function library. The library, largely written
21 in Julia itself, also integrates mature, best-of-breed C and Fortran
22 libraries 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:
30 https://docs.julialang.org/en/latest/
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 -p, --procs <n>
84 Run n local processes
85
86
87 --machine-file <file>
88 Run processes on hosts listed in <file>
89
90
91 -i Interactive mode; REPL runs and isinteractive() is true
92
93
94 --banner={yes|no|auto}
95 Enable or disable startup banner
96
97
98 --color={yes|no|auto}
99 Enable or disable color text
100
101
102 --history-file={yes|no}
103 Load or save history
104
105
106 --compile={yes|no|all}
107 Enable or disable compiler, or request exhaustive compilation
108
109
110 -C, --cpu-target=<target>
111 Limit usage of cpu features up to <target>
112
113
114 -O, --optimize
115 Run time-intensive code optimizations
116
117
118 -O <n>, --optimize=<n>
119 Set the optimization level to <n>
120
121
122 -g Enable generation of full debug info
123
124
125 -g <n> Set the level of debug info generation to <n>
126
127
128 --inline={yes|no}
129 Control whether inlining is permitted (overrides functions
130 declared as @inline)
131
132
133 --check-bounds={yes|no}
134 Emit bounds checks always or never (ignoring declarations)
135
136
137 --math-mode={ieee|user}
138 Always use IEEE semantics for math (ignoring declarations), or
139 adhere to declarations in source code
140
141
142 --depwarn={yes|no|error}
143 Enable or disable syntax and method deprecation warnings
144 ('error' turns warnings into errors)
145
146
147 --warn-overwrite={yes|no}
148 Enable or disable method overwrite warnings
149
150
151 --output-o <name>
152 Generate an object file (including system image data)
153
154
155 --output-ji <name>
156 Generate a system image data file (.ji)
157
158
159 --output-bc <name>
160 Generate LLVM bitcode (.bc)
161
162
163 --output-incremental={yes|no}
164 Generate an incremental output file (rather than complete)
165
166
167 --code-coverage={none|user|all}, --code-coverage
168 Count executions of source lines (omitting setting is equivalent
169 to 'user')
170
171
172 --track-allocation={none|user|all}, --track-allocation
173 Count bytes allocated by each source line
174
175
177 ~/.julia/config/startup.jl
178 Per user startup file.
179
180 /etc/julia/startup.jl
181 System-wide startup file.
182
183
185 Please report any bugs using the GitHub issue tracker:
186 https://github.com/julialang/julia/issues?state=open
187
188
190 Contributors: https://github.com/JuliaLang/julia/graphs/contributors
191
192
193
194Julia 2013-12-10 JULIA(1)