update command in requirements.txt code example Example: how to update requirements.txt pip freeze > requirements.txt