- Create a new python virtualenv
python3 -m venv docs-venv
- Activate the virtualenv, then
pip install mkdocs-material
or pip install mkdocs-material=="9.*"
- Or use the requirements.txt in the root of the project
pip install -r requirements.txt
- Previewing as you write
mkdocs serve
- Building your site
mkdocs build