Building & Iteration• Xterm.js Terminal
Terminal Commands & Sandbox Execution
Run npm commands, inspect build logs, and monitor web container execution in real time.
Using the Embedded Terminal
CodewithChat includes a full terminal powered by Xterm.js. You can watch the Next.js dev server compile pages, inspect console logs, and run custom npm scripts directly in your browser.
Installing npm Packages
You can run `npm install <package-name>` inside the terminal or simply ask the AI mentor to add the library for you.
Viewing Server Logs
Server-side `console.log` statements from your API routes and Server Actions stream directly into the terminal tab for effortless debugging.