Installation of pytube

This part of the documentation covers the installation of pytube.

To install pytube, run the following command in your terminal:

$ pip install pytube3

Get the Source Code

pytube is actively developed on GitHub, where the source is available.

You can either clone the public repository:

$ git clone git://github.com/nficano/pytube.git

Or, download the tarball:

$ curl -OL https://github.com/hbmartin/pytube3/tarball/master
# optionally, zipball is also available (for Windows users).

Once you have a copy of the source, you can embed it in your Python package, or install it into your site-packages by running:

$ cd pytube
$ pip install .