Registry / devops / bog-cli

bog-cli

JSON →
library1.0.1jsnpmunverified

bog-cli is a command-line interface tool for managing Bits of Good internal tools and design system integrations. Current stable version is 1.0.1, released on npm. It allows initializing a design system in React/Next.js projects with options to install Tailwind V4, dependencies, global stylesheets, and fonts. It also provides a unified command to add, update, or remove design system components interactively. The package ships TypeScript types and requires Node.js >=18.

npm install bog-cli
INSTALL
IMPORT
SIG · BOG-CLI
B
bog-cli
devopsjavascriptv1.0.1
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
import bog from 'bog-cli'
Default import for programmatic usage; CLI is primarily used via npx.
BogConfig
import { BogConfig } from 'bog-cli'
const { BogConfig } = require('bog-cli')
TypeScript type/interface, only available with ESM import.

Initializes the Bits of Good design system in a React/Next.js project using npx bog.

#!/usr/bin/env node import { execSync } from 'node:child_process'; execSync('npx bog design init', { stdio: 'inherit' });
bog --version
Debug
Known issues
gotchaThe CLI requires Node.js >=18. Using older versions will fail.
fix
Update Node.js to version 18 or later.
affects: >=1.0.0
gotchaCommands are intended to be run via npx bog, not direct require/import. Programmatic API is limited.
fix
Use npx bog <command> for intended usage.
affects: >=1.0.0
Errors
Common errors & fixes
npx: command not found: bog
The bog-cli package is not installed globally or the command is not available.
fix
Run 'npm install -g bog-cli' or use 'npx bog-cli' instead of 'bog'.
Error: Cannot find module 'bog-cli'
The package is not installed in the current project.
fix
Run 'npm install bog-cli' in your project directory.
Upgrade
Version history
1.0.1latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Resources
bog-cli — npm install bog-cli · libregistry