<~生~信~交~流~与~合~作~请~关~注~公~众~号@生信探索>
使用brew安装julia,可以参考
Current stable release: v1.8.5 (January 8, 2023)
brew install --cask julia
brew install julia
mkdir -p ~/.julia/config
vi ~/.julia/config/startup.jl
#添加如下内容
# ~/.julia/config/startup.jl
ENV["JULIA_PKG_SERVER"] = "https://mirrors.ustc.edu.cn/julia"
在Julia的REPL输入versioninfo()
命令可以检查镜像是否生效:
Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
OS: macOS (arm64-apple-darwin21.5.0)
CPU: 8 × Apple M2
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-13.0.1 (ORCJIT, apple-m1)
Threads: 1 on 4 virtual cores
Environment:
JULIA_PKG_SERVER = https://mirrors.ustc.edu.cn/julia
在Julia的REPL输入]
进入pkg mode
add Missings Downloads DataFrames DataFramesMeta IJulia Statistics Genie CSV Arrow PooledArrays CategoricalArrays StatsBase
https://code.visualstudio.com/Download
Jupyter、Julia
本文由 mdnice 多平台发布