---
title: Specify Python Registry
description: If you need to use a specific registry when installing Python dependencies these commands could help.
date: 2020-03-31
tags: Python, Private Registry
source: https://brianchildress.co/blog/specify-python-registry
---

# Specify Python Registry

If you need to use a specific registry when installing Python dependencies these commands could help.

```sh
pip install < package(s) to install > -i/--index < registry url >
```

The _-i_ or _--index_ flag is used to indicate the registry to be used.
