Skip to content

CLI Reference

howth

The main CLI binary. Also available as fastnode.

Global Options

FlagDescription
--versionPrint version
--helpPrint help
--jsonJSON output

howth build

Transpile TypeScript files to JavaScript.

sh
howth build [OPTIONS]
OptionDescription
--watchWatch for changes and rebuild
--watch typecheckWatch with type checking enabled

howth bundle

Bundle TypeScript/JavaScript into a single output file.

sh
howth bundle <ENTRY> -o <OUTPUT> [OPTIONS]
OptionDescription
-o, --output <FILE>Output file path

howth dev

Start a dev server with hot module replacement.

sh
howth dev <ENTRY> [OPTIONS]
OptionDescription
--port <PORT>Port to listen on (default: 3000)

howth run

Run a TypeScript or JavaScript file directly.

sh
howth run <FILE> [ARGS...]

howth test

Run tests.

sh
howth test [OPTIONS]

howth bench

Run benchmarks.

sh
howth bench [OPTIONS]

Released under the MIT License.