To install Document::AST::Tree, simply copy and paste either of the commands in to your terminal
cpanm
cpanm Document::AST::Tree
CPAN shell
perl -MCPAN -e shell install Document::AST::Tree
For more information on module installation please visit the detailed CPAN module installation guide.