DocsAdvanced

Terminal

An in-app terminal anchored to the project's directory.

What the Terminal Gives You

KingCoding ships a built-in terminal that runs ordinary zsh / bash inside your project directory. Use it to dry-run commands before handing them to the AI, check deps, build, or manage git without leaving the app.

  • Starts already cd'd into the project path
  • Runs with the same env vars and PATH as the AI
  • Copy / paste, search, and scrollback all work
  • The terminal screen can keep several shells side by side

Opening the Terminal

  • Click the terminal icon in the sidebar
  • Or use a shortcut (assignable in settings)
  • Switching projects moves the terminal's working directory automatically

Common Workflows

  • Run `pnpm test` against the AI's diff
  • Install a library with `pnpm add` while the AI waits
  • Inspect git branches and logs
  • Sanity-check build or start commands
  • Capture command output to feed to a follow-up prompt

Tabs for Parallel Work

Open a second terminal to keep a dev server running while you run tests or git commands elsewhere.

Handing Output to the AI

Copy terminal output and paste it into a task follow-up or an issue. "Fix this error" becomes a one-step handoff.