Pipedrive has improved their import wizard, so these scripts are no longer necessary for most use cases.
bundle install
cp .env.example .env
and configure./script_of_your_choice path/to/contacts.csv
For required columns, look in the individual scripts.