Question: how to install dmg file on mac using terminal?
Answer: Method 2: Mount . If Terminal is not on the Dock, open it from Finder > Applications > Utilities. Step 2: Type cd ~/Desktop and press Enter key. Step 3: Type hdiutil attach googlechrome. dmg and press Enter key.