Install Composer and run the following command to get the latest version:
1
composer require "twig/twig:^3.0"