sudo tlmgr option repository ctan
sudo tlmgr update --self
sudo tlmgr install latexindent
sudo cpan Log::Log4perl
sudo cpan YAML/Tiny.pm
sudo cpan Log::Dispatch::File
sudo cpan File::HomeDir
sudo cpan Unicode::GCString
sudo tlmgr option repository ctan
sudo tlmgr update --self
sudo tlmgr install latexindent
sudo cpan Log::Log4perl
sudo cpan YAML/Tiny.pm
sudo cpan Log::Dispatch::File
sudo cpan File::HomeDir
sudo cpan Unicode::GCString
Log4Perl no longer required :)