Recreating julia environments

It is really easy to install all the third party libraries used in a python project by making an environment.yml file and calling conda env create environment.yml. Is there an equivalent way to do this in julia?

This may be part of the Pkg3 design.