First create a new project using pear init --type terminal.

mkdir chat-app
cd chat-app
pear init --yes --type terminal

This creates the base project structure.

Use pear run to see that it works.

pear run --dev .

A directory or link needs to be specified with pear run, here . denotes the current Project directory.

The app will now run. That's all there is to getting a Pear Terminal project started.