如何找到Julia的版本号?是否有ver()命令



我安装了Julia studio 0.4.4,发现它不支持多行注释#=...=#,所以我想知道它运行的是什么版本的Julia。

在Matlab中输入命令ver,该命令不仅显示Matlab的版本号,还显示已安装的所有工具箱的版本号。

我搜索了一段时间,但没有找到类似的命令Julia。对茱莉亚有这样的命令吗?

julia> Version
ErrorException("Version not defined")
julia> ver
ErrorException("ver not defined")
julia> ver()
ErrorException("ver not defined")
julia> Version()
ErrorException("Version not defined")

只要输入常数VERSION也会显示版本号。

julia> VERSION
v"0.4.0"

使用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.

如果您使用的是windows,您可以使用julia -version的cmd命令

最新更新