How to copy an MDF file

I have a question , if I detach the sql db as .mdf file and I sent it to another pc which program I must install it to open the file

ssms is one tool you could use

While technically correct, I think the response should be

Why are you detaching and attaching MDF files?
BACKUP and RESTORE is very, very probably what you ought to be doing (using SSMS or Azure Data Studio or whatever)

Replying to myself after reading Very important question

You might want to look into deploying a "dacpac" as well (