Typora is an excellent Markdown editor that provides a WYSIWYG editing experience while supporting rich styles, mathematical formulas, and more. Since I recently switched to a Mac, I looked into how to install and activate Typora on macOS.
1. Installing Typora
1. Download the Installation Image
Go to Typora’s Chinese website, typoraio.cn, or visit https://typora.io to download the installer. In my experience, the international website seems to be inaccessible from mainland China, while the Chinese website works.
Click the Download Now button shown above to download the macOS installer. By default, it will be downloaded to the Mac’s /Users/{user}/Downloads directory, which is the Downloads folder.
Open Finder and navigate to the Downloads folder. You should see the downloaded Typora installation image, Typora.dmg.

2. Install Typora
Double-click the image file, then drag Typora into the Applications folder to complete the installation. Installing applications on macOS is that simple.

When you open Typora, it will not yet be activated, but you can use it for free for 14 days.
2. Activating Typora
Open Finder and press Command+Shift+G to quickly open the directory navigation dialog. Enter /Applications/Typora.app/Contents/Resources/TypeMark and press Enter to navigate to the directory.

Open this directory in an editor. For example, you can drag it into VS Code for easier operation. For those who do not have VS Code installed, I will open the file directly here.
Locate the following file in this directory:
| |

Open the file in a text editor, search for hasActivated="true"==e.hasActivated, and replace it with hasActivated="true"=="true". Remember to save the file.

After saving the file, reopen Typora and click Typora in the upper-left menu, then select My License. You will see that Typora has been successfully activated!

(The End)
