## [](https://github.com/seleniumbase/SeleniumBase/) SeleniumBase Installation
If installing seleniumbase
directly from PyPI, (the Python Package Index), use:
```bash
pip install seleniumbase
```
To upgrade an existing seleniumbase
install from PyPI:
```bash
pip install -U seleniumbase
```
If installing seleniumbase
from a Git clone, use:
```bash
git clone https://github.com/seleniumbase/SeleniumBase.git
cd SeleniumBase/
pip install .
```
For a development mode install in editable mode, use:
```bash
git clone https://github.com/seleniumbase/SeleniumBase.git
cd SeleniumBase/
pip install -e .
```
To upgrade an existing seleniumbase
install from GitHub:
```bash
git pull # To pull the latest version
pip install -e . # Or "pip install ."
```
If installing seleniumbase
from a GitHub branch, use:
```bash
pip install git+https://github.com/seleniumbase/SeleniumBase.git@master#egg=seleniumbase
```
pip install
can be customized:
* (Add ``--upgrade`` OR ``-U`` to upgrade SeleniumBase.)
* (Add ``--force-reinstall`` to upgrade indirect libraries.)
* (Use ``pip3`` if multiple versions of Python are present.)
(If you're not using a virtual environment, you may need to add ``--user`` to your ``pip`` command if you're seeing errors during installation.)
--------
[](https://github.com/seleniumbase/SeleniumBase/)