Julia: ver.1.0.2
参考:
Pkg modeとは
version1.0
から新たに導入された.
juliaモード(julia>
となっている状態)で]
を入力すると(v1.0) pkg>
に変化する.
終了方法
delete
キーを押すだけ.(これ調べるのに時間かかった笑)
コマンド
help
これを見れば,大体解決する.
(v1.0) pkg> help
Welcome to the Pkg REPL-mode. To return to the julia> prompt, either press
backspace when the input line is empty or press Ctrl+C.
Synopsis
pkg> cmd [opts] [args]
Multiple commands can be given on the same line by interleaving a ; between
the commands.
Commands
activate: set the primary environment the package manager manipulates
add: add packages to project
build: run the build script for packages
develop: clone the full package repo locally for development
free: undoes a pin, develop, or stops tracking a repo
gc: garbage collect packages not used for a significant time
generate: generate files for a new project
help: show this message
instantiate: downloads all the dependencies for the project
pin: pins the version of packages
precompile: precompile all the project dependencies
preview: previews a subsequent command without affecting the current state
remove: remove packages from project or manifest
resolve: resolves to update the manifest from changes in dependencies of
developed packages
status: summarize contents of and changes to environment
test: run tests for packages
update: update packages in manifest
add
複数個もOK
(v1.0) pkg> add Example1 Example2 Example3
URLでもOK
(v1.0) pkg> add https://github.com/JuliaLang/Example.jl
各Packageのversionを確認したい時: status
(v1.0) pkg> status
特定のPackageのversionはどうやって確認できるのだろうか??