tsci init
tsci init bootstraps a fresh project in the current directory. It creates the
basic files needed to start developing a board, including:
index.tsx– your main circuit entrypointpackage.jsonwith the required dependenciestsconfig.json.gitignoreand other configuration files
You can run the command interactively or pass -y to accept all defaults.
mkdir my-circuit
cd my-circuit
# Initialize with prompts
tsci init
# or skip prompts
tsci init -y
After initialization you will see a directory structure similar to the following:
my-circuit/
├─ index.tsx
├─ package.json
├─ tsconfig.json
└─ tscircuit.config.json

Terminal output from a successful tsci init
Next, run tsci dev to start the development server and view your circuit in the
browser.