Use a Published Release
To install Questionary, simply run this command in your terminal of choice:
$ pip install questionary
Build from Source
Installing from source code is only necessary, if you want to make changes to the Questionary source code. Questionary is actively developed on GitHub.
You can either clone the public repository:
$ git clone firstname.lastname@example.org:tmbo/questionary.git
Or, download the tarball:
$ curl -OL https://github.com/tmbo/questionary/tarball/master
If you are using windows, you can also download a zip instead:
$ curl -OL https://github.com/tmbo/questionary/zipball/master
Questionary uses Poetry for packaging and dependency management. If you want to build Questionary from source, you must install Poetry first:
$ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3
There are several other ways to install Poetry, as seen in the official guide.
To install Questionary and its dependencies in editable mode, execute
$ make install