I’m not sure how to install some package and make it available globally. I mean, that I understand that inside some folder with some project.tolm
only packages registered on that file should be available (in principle. This also could be different, using some mechanism so I could allow somehow some script or the REPL to use globally installed packages). My question is that when I add some package to v0.7 I was thinking that I could use it anywhere. But that doesn’t seem to be the case
(v0.7) pkg> st
Status `~/.julia/environments/v0.7/Project.toml`
[6e4b80f9] BenchmarkTools v0.3.0
[7073ff75] IJulia v1.8.0
[91a5bcdd] Plots v0.17.0
julia> using Plots
ERROR: ArgumentError: Module Pkg not found in current path.
Run `Pkg.add("Pkg")` to install the Pkg package.
...
UPDATE: It seems that the problem is related more with JULIA_LOAD_PATH