Found a typo or an error?
Want to improve this document? Edit it.
Need support or have a technical question?
Ask support on Stack Overflow.
You have multiple ways to install Twig.
Install Composer and run the following command to get the latest version:
composer require twig/twig:~2.0
git clone git://github.com/twigphp/Twig.git