Install the Official TapirMD Toolset

The page is written in TapirMD (source is available here).

This page shows the steps of installing and using the official TapirMD toolset locally. You can also experience the toolset online.

Installation steps

TapirMD hasn't yet reached version 1.0.0 (or even 0.1.0). At this stage, building from source is the only way to run the offcial TapirMD commands locally.

  1. Install Zig, if haven't. The latest version tip (master) version is recommended.

  2. Get the source code of the TapirMD project. You can clone it (install Git if needed) or download its source code.

  3. Open your terminal or command prompt, navigate to the TapirMD project folder, and run the following command to build the project:
       zig build -Doptimize=ReleaseSafe
    
    If the build is successful, the tmd command binary file will be generated in the bin folder under the project local zig-out folder.

    The ReleaseSafe optimization mode produces a fast binary with safety checks. For an even faster binary, use the ReleaseFast optimization mode instead:
       zig build -Doptimize=ReleaseFast
    

  4. (Optional), copy the tmd binary file to a directory configured in the PATH enviroment variable, or add the path of the bin folder to the PATH enviroment variable, so that you can run the tmd command anywhere.

Use the toolset