How to install tesseract OCR engine

I need to install tesseract OCR engine on replit. please suggest ways for doing it

You could put the pkgs.tesseract pkg in your nix config if you know how. Here are the config docs