Type ~ on a Mac
On many US QWERTY layouts, hold Shift and press the key immediately to the left of 1. If nothing appears, press Space; your layout may be waiting for a letter to create an accented character.
Check another keyboard layout
Use System Settings → Keyboard → Text Input and Keyboard Viewer if the key is elsewhere. This is more reliable than copying a shortcut intended for another language layout.
What does ~ mean in Terminal?
In Terminal, ~ commonly represents the current user’s home folder.
Copy a tilde
Need it once? Copy it here: ~
Frequently asked questions
Why does the tilde not appear immediately?
Some keyboard layouts treat ~ as a dead key for accents. Press Space if you want a standalone tilde.
Where is the tilde on a MacBook?
On many US QWERTY layouts it is on the key to the left of 1 with Shift. Other layouts can place it elsewhere.
What does ~ mean in Terminal?
It normally refers to the current user’s home directory.