pip freeze [options]
Output installed packages in requirements format.
-r
,
--requirement
<file>
$ pip freeze Jinja2==2.6 Pygments==1.5 Sphinx==1.1.3 docutils==0.9.1
$ env1/bin/pip freeze > requirements.txt $ env2/bin/pip install -r requirements.txt