🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@backstage/cli-node

Package Overview
Dependencies
Maintainers
3
Versions
528
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@backstage/cli-node

Node.js library for Backstage CLIs

latest
Source
npmnpm
Version
0.3.3
Version published
Weekly downloads
342K
-0.04%
Maintainers
3
Weekly downloads
 
Created
Source

@backstage/cli-node

This library provides utilities for building CLI tools for Backstage.

The difference between this library and @backstage/cli-common is that this library is more feature rich with a larger dependency tree, with less concern for bundle size and installation speed. The @backstage/cli-common package on the other hand is intended to be extremely slim and only provide minimal features for use in tools like @backstage/create-app.

Custom CLIs

Use runCli to create an executable CLI from a fixed set of directly imported modules:

import { runCli } from '@backstage/cli-node';
import buildModule from '@backstage/cli-module-build';
import testModule from '@backstage/cli-module-test-jest';
import packageJson from '../package.json';

runCli({
  modules: [buildModule, testModule],
  name: packageJson.name,
  version: packageJson.version,
});

The caller owns module selection. The runner does not discover modules or apply module overrides.

Documentation

  • Backstage Readme
  • Backstage Documentation

FAQs

Package last updated on 16 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts