# @comunica/runner-cli

> A comunica runner that sends an 'init' event from a commandline process.

Latest version **5.4.0** (published 2026-09-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install @comunica/runner-cli
pnpm add @comunica/runner-cli
yarn add @comunica/runner-cli
bun add @comunica/runner-cli
```

Provides the command `comunica-run`.

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 5.4.0 |
| Published | 2026-09-14 |
| First published | 2018-03-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 9.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 589 |
| Maintainers | joachimvh, rubensworks, rubenverborgh, dexagod, jeswr |
| Keywords | comunica, runner, cli |

## Links

- npm: https://www.npmjs.com/package/@comunica/runner-cli
- Repository: https://github.com/comunica/comunica
- Homepage: https://comunica.dev/
- Issues: https://github.com/comunica/comunica/issues
- Funding: https://opencollective.com/comunica-association
- npm.io page: https://npm.io/package/@comunica/runner-cli

## Dependencies (4)

- [process](https://npm.io/package/process.md) ^0.11.10
- [@comunica/core](https://npm.io/package/@comunica/core.md) ^5.4.0
- [@comunica/types](https://npm.io/package/@comunica/types.md) ^5.4.0
- [@comunica/runner](https://npm.io/package/@comunica/runner.md) ^5.4.0

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 5.4.0 (latest) — 2026-09-14
- 4.4.2-alpha.49.0 (next) — 2025-10-22
- 5.3.0 — 2026-07-10
- 5.2.3 — 2026-05-26
- 5.2.2 — 2026-05-03
- 5.2.0 — 2026-04-14
- 5.1.3 — 2026-01-30
- 5.1.0 — 2026-01-16
- 5.0.3 — 2026-01-12
- 5.0.2 — 2026-01-12
- 5.0.0 — 2026-01-08
- 4.5.0 — 2025-11-18
- 4.4.0 — 2025-09-17
- 4.2.0 — 2025-04-29
- 4.1.0 — 2025-02-11
- … 103 more at https://npm.io/package/@comunica/runner-cli/versions

## README

# Comunica Runner CLI

[![npm version](https://badge.fury.io/js/%40comunica%2Frunner-cli.svg)](https://www.npmjs.com/package/@comunica/runner-cli)

Command line runner module for Comunica actors on the [Init bus](https://github.com/comunica/comunica/tree/master/packages/bus-init).

Builds upon [`@comunica/runner`](https://github.com/comunica/comunica/tree/master/packages/runner).

This module is part of the [Comunica framework](https://github.com/comunica/comunica),
and should only be used by [developers that want to build their own query engine](https://comunica.dev/docs/modify/).

[Click here if you just want to query with Comunica](https://comunica.dev/docs/query/).

[Learn more about creating a custom init actor](https://comunica.dev/docs/modify/getting_started/custom_init/).

## Install

```bash
$ yarn add @comunica/runner-cli
```

## Usage from the command line

```bash
$ comunica-run config.json [args...]
```

### Usage from an application

Static:
```typescript
#!/usr/bin/env node
import { runArgsInProcessStatic } from '@comunica/runner-cli';
runArgsInProcessStatic(require('../engine-default.js'));
```

Dynamic:
```typescript
#!/usr/bin/env node
import { runArgsInProcess } from '@comunica/runner-cli';
runArgsInProcess(`${__dirname}/../`, `${__dirname}/../config/config-default.json`);
```

---
_Source: https://npm.io/package/@comunica/runner-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
