Complete Command-Line Interface and Developer Toolchain
The techscript command-line interface provides everything needed to develop, test, bundle, and deploy full-stack applications.
All commands can be invoked using any of the three official binary aliases:
techscript <command>
tsc <command>
tech <command>techscript new <template> <name>Scaffolds a new project from a built-in template. Templates:website,fullstack,api,3d. Example:techscript new fullstack my-apptechscript initInitializes a TechScript project in the current working directory.
techscript dev [--port <port>]Starts the local development server with hot reload, embedded SQLite, and live WebGL rendering (default: port 3000).techscript run <file>Executes a TechScript source file or entry point directly.techscript routesInspects and lists all registered web routes, REST endpoints, and client action triggers.
techscript build [file] [--release] [--target <web|server>]Compiles project sources.--target web: Generates static web bundles indist/(index.html,styles.css,app.js,schema.sql).--target server: Generates native server runtime artifacts.- Default: Generates compiled TechScript bytecode (
.tsb).
techscript install [package]Installs a package or resolves all dependencies declared intechscript.toml. Alias:techscript add <package>techscript uninstall <package>Removes a package dependency and updatestechscript.tomlandtechscript.lock. Alias:techscript remove <package>techscript listLists all declared dependencies, their resolved versions, and package locations. Alias:techscript lstechscript search <query>Searches the official package catalog for matching libraries.techscript updateUpdates installed packages to the latest matching version constraints.
techscript check [file]Runs semantic and type analysis without generating compilation output.techscript test [dir]Discovers and runs test suites matching*_test.txs.techscript fmt [path]Formats TechScript source files (.txs,.wtxs,.stxs,.3txs).techscript lint [path] [--fix]Lints codebase for style, deprecations, and potential bugs.
techscript doctorEvaluates development environment health, PATH settings, and compiler prerequisites.techscript clean [--all]Cleans build artifacts (build/,dist/) and intermediate compilation caches.techscript deploy [--target <static|docker>]Prepares release packages for target hosting providers.
| Flag | Description |
|---|---|
--verbose, -v |
Enables verbose diagnostic and timing logs. |
--quiet, -q |
Suppresses non-error terminal output. |
--json |
Emits structured JSON diagnostics for IDE and CI/CD tools. |
--help, -h |
Displays contextual help for any command. |
--version |
Displays toolchain version and build metadata. |