Thank you for posting your query on Microsoft Q&A, seems like you are looking for directions on installing Microsoft Purview scanner on an on-prem server.
Please do correct me if this is not the case by responding in the comments section.
As per Windows Server requirements 64 bit Windows Server 2022 is supported requirement.
Kindly follow the steps as per: Install the scanner and let me know if any assistance is needed.
Thanks,
Akshay Kaushik
Please "Accept the answer" (Yes), and share your feedback if the suggestion answers you’re your query. This will help us and others in the community as well.