versioninfo

versioninfo([verbose::Bool])

Print information about the version of Julia in use. If the verbose argument is true, detailed system information is shown as well.

Examples

  1. Get version information:

    julia> versioninfo()
    Julia Version 1.6.2
    Platform Info:
     OS: Linux (x86_64-pc-linux-gnu)
     CPU: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
     WORD_SIZE: 64
     LIBM: libopenlibm
     LLVM: libLLVM-11.0.1 (ORCJIT, skylake)
  2. Get verbose version information:

    julia> versioninfo(true)
    Julia Version 1.6.2
    Platform Info:
     OS: Linux (x86_64-pc-linux-gnu)
     CPU: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
     WORD_SIZE: 64
     LIBM: libopenlibm
     LLVM: libLLVM-11.0.1 (ORCJIT, skylake)
    
    Additional Info:
     JULIA_HOME = /usr/local/julia-1.6.2
     JULIA_BINDIR = /usr/local/julia-1.6.2/bin
     JULIA_VERSION = 1.6.2
     JULIA_VERSION_MAJOR = 1
     JULIA_VERSION_MINOR = 6
     JULIA_VERSION_PATCH = 2
     JULIA_VERSION_COMMIT = c7b429bce4* 2021-07-14 15:36 UTC
     JULIA_VERSION_STRING = 1.6.2
     JULIA_BUILD_CONFIGURE_FLAGS = '--enable-threads' '--enable-tls=system' '--with-lapack' '--with-system-libm=auto' '--prefix=/usr/local/julia-1.6.2'
    

Common mistake example:

julia> versioninfo("verbose")
ERROR: MethodError: no method matching versioninfo(::String)

In this example, the argument provided to versioninfo is of the wrong type. The verbose argument should be a boolean (true or false), not a string. Make sure to pass a boolean value to the verbose argument when calling versioninfo.

See Also

:@printf, :@sprintf, display, displayable, dump, info, isprint, print, println, print_escaped, print_joined, print_shortest, print_unescaped, print_with_color, pushdisplay, redisplay, show, showall, showcompact, sprint, versioninfo,

User Contributed Notes

Add a Note

The format of note supported is markdown, use triple backtick to start and end a code block.

*Required Field
Details

Checking you are not a robot: