What You Need
To run THT, you will need these requirements.
- PHP 8.1+
You can run
php -v to see if PHP is installed and has the right version.
If you need to install PHP, here are some links:
If you use TextMate or Sublime Text, you can download the THT.tmbundle to add syntax highlighting support for
Step 1: Run the THT Install Script
Run this command to install THT in your local user directory:
curl -s -o tht.sh https://tht.dev/install && source tht.sh
On Windows, you will need to install it manually. (Installer coming soon.)
- Download the zip file
- Extract it to
C:\thtto your PATH environment variable.
Step 2: Verify It
Let’s check that THT is set up properly.
tht command without arguments.
If everything worked, you should see the help page, like this:
------------- THT ------------- - Version: 0.7.1 - Beta - Commands: · new <appName> create an app in the current dir · info get detailed config and install info · server start the local test server (port: 3333) > Usage: tht [command]
If you have an issue that you can’t figure out, post your error messages and platform info at the Issue Tracker or the Discord server and we’ll try to help.
(We’ll add more tips here as we get more feedback.)
You are now ready to set up the starter app.