Open System Settings
Click Displays
Select your MacBook display
Look for Rotation or Rotate
Choose 90°, 180°, or 270°
Confirm the change if prompted
If Rotation is not available, hold Option while clicking Displays or use an external display that supports rotation
