Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create environment from existing Project.toml file

Tags:

julia

Suppose I already have a folder MyFolder containing a Project.toml and a Manifest.toml with some dependencies in it. How do I create an environment from these existing files? I know I can create an environment using ] generate EnvironmentName but not sure about how to do this with existing files.

like image 241
Physics_Student Avatar asked Aug 30 '25 18:08

Physics_Student


1 Answers

You must first activate your project.

In Pkg REPL mode ( ] )

activate path_to/MyFolder

Then you must instantiate it (by resolving version compatibilities if no Manifest.toml is present and by downloading dependencies)

instantiate

For further details Pkg official doc is there

like image 177
Picaud Vincent Avatar answered Sep 02 '25 09:09

Picaud Vincent