Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 935
Alec Avatar asked Jan 25 '23 10:01

Alec


1 Answers

For this specific purpose, there is also

(@v1.5) pkg> activate --temp
 Activating new environment at `/tmp/jl_r7woaE/Project.toml`
like image 70
phipsgabler Avatar answered May 08 '23 07:05

phipsgabler