Question: how to mount a dmg file in mac 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.