-
Open the terminal in macOS
After entering this command, press the Enter key.
bash -c "$(curl -fsSL https://raw.githubusercontent.com/xzhih/one-key-hidpi/master/hidpi.sh]]"
If you see curl: (28) Failed to connect..., we cannot install via command, we can install by downloading the installation package.
-
Download the installation package
- Download from GitHub: https://github.com/xzhih/one-key-hidpi
- Download from CSDN: https://download.csdn.net/download/network_dream/90273442
-
After downloading, unzip and install,
-
Double-click hidpi.command
-
If it shows unable to open, go to Mac's settings → Privacy & Security → Open anyway.
-
Installation
-
Enter 1, press the Enter key
-
Enter 3, press the Enter key, and input your Mac's startup password.
-
Here, choose the refresh rate of your monitor. Since I am using a 2K monitor, I choose the fourth option. If you see [Process completed], it means the installation was successful.
-
-
-
Restart your Mac.
-
Compare before and after installation, open Settings → Resolution. The left side shows the settings before installation, and the right side shows the settings after installation. Choose a suitable one on the right; I am using 1680x945 (HIDPI), which looks more comfortable overall.