-
Step one is installing pipenv if you don't have it already. Both Homebrew and pip make this very easy (e.g.
pip install pipenv) but there's sometimes issues with Conda. -
Navigate to the repository directory in a terminal window and run
pipenv shell. This will initialize a virtual environment in that directory. Note that you must initialize the shell every time you open the directory. -
Run
pipenv sync. This will install all the dependencies you need for the project. Note that you only need to run this once.
-
Go to the
Piffleand add a line under the existing dependencies for the one you want to add. -
In a terminal window, run
pipenv lock. -
Every future
pipenv syncshould now include the new dependency.