npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@llm-dev-ops/llm-governance-cli

v1.0.0

Published

Command-line interface for LLM Governance Dashboard

Readme

@llm-dev-ops/llm-governance-cli

Command-line interface for the LLM Governance Dashboard. Manage your LLM providers, models, organizations, and teams from the terminal.

Installation

npm install -g @llm-dev-ops/llm-governance-cli

Quick Start

# Login
llm-gov auth login

# List organizations
llm-gov org list

# Create a provider
llm-gov provider create <org-id>

# View help
llm-gov --help

Commands

Authentication

llm-gov auth login

Login to the LLM Governance Dashboard interactively.

llm-gov auth login

Options:

  • --json - Output in JSON format

llm-gov auth logout

Logout and clear stored credentials.

llm-gov auth logout

llm-gov auth whoami

Display current user information.

llm-gov auth whoami
llm-gov auth whoami --json

Organizations

llm-gov org list

List all organizations.

llm-gov org list
llm-gov org list --json

llm-gov org show <id>

Show organization details.

llm-gov org show org-123

llm-gov org create

Create a new organization interactively.

llm-gov org create

llm-gov org update <id>

Update an organization.

llm-gov org update org-123 --name "New Name" --description "New description"

llm-gov org delete <id>

Delete an organization.

llm-gov org delete org-123
llm-gov org delete org-123 --force  # Skip confirmation

Organization Members

llm-gov org members list <org-id>

List organization members.

llm-gov org members list org-123

llm-gov org members add <org-id>

Add a member to an organization.

llm-gov org members add org-123

llm-gov org members remove <org-id> <member-id>

Remove a member from an organization.

llm-gov org members remove org-123 member-456

Teams

llm-gov team list <org-id>

List teams in an organization.

llm-gov team list org-123

llm-gov team show <id>

Show team details.

llm-gov team show team-456

llm-gov team create <org-id>

Create a new team.

llm-gov team create org-123

llm-gov team update <id>

Update a team.

llm-gov team update team-456 --name "New Team Name"

llm-gov team delete <id>

Delete a team.

llm-gov team delete team-456

Team Members

llm-gov team members list <team-id>

List team members.

llm-gov team members list team-456

llm-gov team members add <team-id>

Add a member to a team.

llm-gov team members add team-456

llm-gov team members remove <team-id> <member-id>

Remove a member from a team.

llm-gov team members remove team-456 member-789

LLM Providers

llm-gov provider list <org-id>

List LLM providers in an organization.

llm-gov provider list org-123

llm-gov provider show <id>

Show provider details.

llm-gov provider show provider-789

llm-gov provider create <org-id>

Create a new LLM provider.

llm-gov provider create org-123

Supported provider types:

  • openai
  • anthropic
  • azure
  • bedrock
  • custom

llm-gov provider update <id>

Update a provider.

llm-gov provider update provider-789 --name "New Name"
llm-gov provider update provider-789 --api-key "new-key"
llm-gov provider update provider-789 --active false

llm-gov provider delete <id>

Delete a provider.

llm-gov provider delete provider-789

LLM Models

llm-gov model list <provider-id>

List models for a provider.

llm-gov model list provider-789

llm-gov model show <id>

Show model details.

llm-gov model show model-101

llm-gov model create <provider-id>

Create a new model.

llm-gov model create provider-789

llm-gov model update <id>

Update a model.

llm-gov model update model-101 --name "GPT-4 Turbo"
llm-gov model update model-101 --enabled false

llm-gov model delete <id>

Delete a model.

llm-gov model delete model-101

Configuration

llm-gov config get <key>

Get a configuration value.

llm-gov config get apiUrl

llm-gov config set <key> <value>

Set a configuration value.

llm-gov config set apiUrl https://api.example.com/v1
llm-gov config set defaultOrgId org-123

Valid configuration keys:

  • apiUrl - API base URL
  • defaultOrgId - Default organization ID

llm-gov config list

List all configuration values.

llm-gov config list

llm-gov config clear

Clear all configuration.

llm-gov config clear

Global Options

Most commands support these global options:

  • --json - Output in JSON format (useful for scripting)
  • --force - Skip confirmation prompts (for delete operations)

Configuration Storage

The CLI stores configuration in ~/.config/llm-governance/config.json, including:

  • API URL
  • Authentication token
  • Default organization ID

Examples

Complete Workflow Example

# 1. Login
llm-gov auth login

# 2. Create an organization
llm-gov org create

# 3. Add a provider (e.g., OpenAI)
llm-gov provider create org-123

# 4. Create a model
llm-gov model create provider-456

# 5. Create a team
llm-gov team create org-123

# 6. Add team members
llm-gov team members add team-789

Scripting Example

#!/bin/bash

# Get all organizations in JSON format
ORGS=$(llm-gov org list --json)

# Parse with jq and iterate
echo "$ORGS" | jq -r '.[].id' | while read org_id; do
  echo "Listing providers for organization: $org_id"
  llm-gov provider list "$org_id"
done

CI/CD Integration

# GitHub Actions example
- name: Create LLM Provider
  run: |
    echo "${{ secrets.LLM_GOV_PASSWORD }}" | llm-gov auth login --email [email protected]
    llm-gov provider create $ORG_ID \
      --name "OpenAI Production" \
      --type openai \
      --api-key "${{ secrets.OPENAI_API_KEY }}" \
      --json

Troubleshooting

Authentication Issues

If you encounter authentication errors:

# Clear configuration and re-login
llm-gov config clear
llm-gov auth login

API URL Configuration

To use a different API endpoint:

llm-gov config set apiUrl https://your-api-url.com/api/v1

View Current Configuration

llm-gov config list

Development

Building from Source

git clone https://github.com/globalbusinessadvisors/llm-governance-dashboard.git
cd llm-governance-dashboard/packages/cli
npm install
npm run build
npm link

License

Apache-2.0