Need help with textmate?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

13.7K Stars 1.8K Forks Other 5.8K Commits 14 Opened issues


TextMate is a graphical text editor for macOS 10.12 or later

Services available


Need anything else?

Contributors list



You can download TextMate from here.


You can use the TextMate mailing list or #textmate IRC channel on for questions, comments, and bug reports.

You can also contact MacroMates.

Before you submit a bug report please read the writing bug reports instructions.





To build TextMate, you need the following:

All this can be installed using either Homebrew or MacPorts:

# Homebrew
brew install boost capnp google-sparsehash multimarkdown ninja ragel


sudo port install boost capnproto multimarkdown ninja ragel sparsehash

After installing dependencies, make sure you have a full checkout (including submodules) and then run

followed by
, for example:
git clone --recursive
cd textmate
./configure && ninja TextMate/run


script simply checks that all dependencies can be found, and then calls
to bootstrap a
file with default config set to
and default target set to

Building from within TextMate

You should install the Ninja bundle which can be installed via PreferencesBundles.

After this you can press ⌘B to build from within TextMate. In case you haven't already you also need to set up the

variable either in PreferencesVariables or
so it can find
and related tools; an example could be

The default target (set in

) is
. This will relaunch TextMate but when called from within TextMate, a dialog will appear before the current instance is killed. As there is full session restore, it is safe to relaunch even with unsaved changes.

If the current file is a test file then the target to build is changed to build the library to which the test belongs (this is done by setting

in the
file found in the root of the source tree).

Similarly, if the current file belongs to an application target (other than
) then
is set to build and run this application.

Build Targets

For the
application there are two symbolic build targets:
ninja TextMate      # Build and sign TextMate
ninja TextMate/run  # Build, sign, and (re)launch TextMate

To clean everything run:

ninja -t clean

Or simply delete



The source for TextMate is released under the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

TextMate is a trademark of Allan Odgaard.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.