December 2018
Beginner to intermediate
500 pages
12h 10m
English
Sometimes though we might want to ensure that certain packages will not be updated. That's when we pin them:
(v1.0) pkg> pin OhMyREPL Resolving package versions... Updating `~/.julia/environments/v1.0/Project.toml` [5fb14364] ~ OhMyREPL v0.3.0 ⇒ v0.3.0 Updating `~/.julia/environments/v1.0/Manifest.toml` [5fb14364] ~ OhMyREPL v0.3.0 ⇒ v0.3.0
Pinned packages are marked with the ⚲ symbol—also present now when checking the status:
(v1.0) pkg> st
Status `~/.julia/environments/v1.0/Project.toml`
[5fb14364] OhMyREPL v0.3.0
[295af30f] Revise v0.7.5
If we want to unpin a package, we can use pkg> free:
(v1.0) pkg> free OhMyREPL Updating `~/.julia/environments/v1.0/Project.toml` [5fb14364] ~ OhMyREPL v0.3.0 ⇒ v0.3.0 Updating `~/.julia/environments/v1.0/Manifest.toml` ...
Read now
Unlock full access