Skip to main content

Install

mType is distributed as source. Building takes a few minutes on a modern machine.

Prerequisites

PlatformCompilerBuild tool
WindowsMSVC v143 (Visual Studio 2022)Premake5
LinuxGCC 11+Premake5 + GNU make
macOSClang (Xcode 14+)Premake5 + GNU make

You'll also need Git (with submodule support — mType pulls AsmJit as a submodule).

Windows

git clone --recursive https://github.com/matan45/mType.git
cd mType
runPremake.bat
# open Interpreter.sln in Visual Studio 2022 and build the Release x64 configuration

After the build finishes, the executables land under bin/:

  • bin/mType/Release/x64/mType.exe — main interpreter
  • bin/mtpm/Release/x64/mtpm.exe — package manager
  • bin/mtype-language-server/Release/x64/mtype-language-server.exe — LSP server
  • bin/mtype-launcher/Release/x64/mtype-launcher.exe — launcher used by --build --exe

Linux / macOS

git clone --recursive https://github.com/matan45/mType.git
cd mType
premake5 gmake2
make

Same bin/ layout, with [.exe] suffixes dropped.

Submodule Recovery

If you cloned without --recursive, initialize the AsmJit submodule before building:

git submodule update --init --recursive

Verify the Install

mType --version
mType --help

You should see the version banner followed by the full flag list. If you see an error about missing AsmJit headers, your submodule didn't initialize.

Next

Quick Start — run your first script.