首页 > 解决方案 > With Julia, is there a way to create a test/temporary/throwaway environement?

问题描述

I would like to test the installation of a certain combination of packages without polluting my primary environment and without needing to create a folder. Is there a way to do this interactively/in the REPL?

标签: testingpackagejulia

解决方案


For this specific purpose, there is also

(@v1.5) pkg> activate --temp
 Activating new environment at `/tmp/jl_r7woaE/Project.toml`

推荐阅读