Limit the usage of packages from outside the Manifest.toml

I prepared a Manifest.toml by activating the directory activate . I added some packages and having activated environment, I go back to Julia environment. However I’m still able to access packages which has not been included into the environment. Is it a desired behavior? Am I confusing Julia’s environments with the way conda’s environments works?

1 Like

If I understand correctly, the packages from default environment (v1.5 for example) are always present?

2 Likes

You can set the env variable JULIA_LOAD_PATH="@" before starting Julia. Then you will only be able to load those packages that are in the current project.

3 Likes

Thanks!