Latexdiff Error Issue

Can’t locate Algorithm/Diff.pm in @INC (you may need to install the Algorithm::Diff module)

Solution: (Worked in Mac)

brew install latexdiff

brew link latexdiff

brew link –overwrite latexdiff

error: