Welcome!

Nice to meet you. Glad that you want to learn more about using docToolchain. Start by installing what you need.

The following steps guide you through the installation. If you encounter problems, create a GitHub issue and the community will help you.

Prerequisites

  • Java 17, 21 or 25

  • git

  • Bash — on Windows, use WSL2

1. Get the Wrapper Script

cd <your project>
curl -Lo dtcw4 https://doctoolchain.org/dtcw4
chmod +x dtcw4
On Windows, use WSL2. dtcw4 is a Bash script.

2. Install docToolchain

./dtcw4 local install java        # if Java is not installed
./dtcw4 local install doctoolchain

3. Try It Out

./dtcw4 tasks

This lists all available tasks.

Problems & solutions

dtcw4 doesn’t run

You might get an error like:

./dtcw4: line 1: syntax error near unexpected token `newline'
./dtcw4: line 1: `<!DOCTYPE html>'

This means the wrapper didn’t download correctly (an HTML page was downloaded instead). Please redownload the wrapper.

Docker throws an error

On Windows you might get:

Error response from daemon: user declined directory sharing C:\Users\path_to_my_folder

Go to Docker Dashboard → Settings → Resources → File Sharing. Add the required folder and hit Apply & Restart.