Introduction
These instructions assume you are comfortable with command-line interfaces such as Terminal and package managers like pip
and homebrew
.
If you are not familiar with command-line interfaces, we strongly recommend using Bagger instead of bagit-python. If you are familiar with command-line interfaces, you may prefer bagit-python to Bagger.
The following instructions can be used for Mac, Linux, and Windows computers, unless otherwise noted.
Installing bagit-python
- Open your terminal of choice.
- Depending on which package manager you use, install bagit-python with one of the following commands.
pip3 install bagit-python
pip install bagit-python
brew install bagit
(Mac only)
- Confirm that bagit-python is installed.
bagit.py --version
Run bagit-python
- See Bagging Files to create packages.