Version: v0.8.1 - Beta.  We welcome contributors & feedback.

Install THT

This tutorial will show you how to install THT on your local machine.

THT is still in Beta, so hopefully you can get it running without a problem. 🙂

What You Need 

To run THT, you will need these requirements.

Installing PHP

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:

Step 1: Run the THT Install Script 

Mac/Linux

Run this command to install THT in your local user directory:

curl -s -o tht.sh https://tht.dev/install && source tht.sh

Windows

On Windows, you will need to install it manually. (Installer coming soon.)

Step 2: Verify It 

Let’s check that THT is set up properly.

Run the tht command without arguments.

$ tht

If everything worked, you should see the help page, like this:

-------------
     THT
-------------

- Version: 0.8.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>

Troubleshooting

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.)

🎉 Great! 

Now you’re ready to set up the starter app.