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

@nithishz/clix

v1.0.2

Published

An AI-powered CLI companion that explains commands flag-by-flag, generates commands from natural language, and builds your personal command library.

Downloads

261

Readme

clix

An AI-powered CLI companion that explains commands flag-by-flag, generates commands from natural language, and builds your personal command library.

CLI Demo Recording

clix demo


Features

  • Explain any shell command — flag by flag, with optional beginner mode
  • Generate a command from plain English description
  • Update your AI model and token settings interactively
  • Save commands locally for later reuse, with tags and descriptions
  • Browse your saved commands with search and tag filters

Prerequisites


Installation

npm install -g @nithishz/clix

Global Install (Recommended)

Install globally to use clix from anywhere in your terminal:

npm install -g @nithishz/clix

Then run:

clix explain "ls -la"

Local Install (Inside a Project)

If you prefer to install it locally inside a Node.js project:

npm install @nithishz/clix

Then run with:

npx clix explain "ls -la"

One-Time Usage (No Install)

You can also run it directly without installing:

npx @nithishz/clix explain "ls -la"

Configuration

clix needs an Anthropic API key to work. Choose one of these methods:

Option 1 — Environment variable (recommended for quick start)

export ANTHROPIC_API_KEY=your-api-key-here

Option 2 — Config file (persists across sessions)

mkdir -p ~/.clix
echo '{"provider":"anthropic","apiKey":"your-api-key-here"}' > ~/.clix/config.json

The config file is created automatically on first run if the env var is set, so you only need to set the env var once.


Commands

explain — Understand any shell command

clix explain "<command>"
clix explain "<command>" --beginner

Breaks down what a command does, flag by flag. Add --beginner (or -b) for a plain-English explanation with examples.

Examples:

clix explain "find . -name '*.log' -mtime +30"
clix explain "docker ps -a --filter status=exited" --beginner
clix explain "git log --oneline --graph --all" -b

generate — Create a command from plain English

clix generate "<description>"

Describe what you want to do and clix generates the correct shell command.

Examples:

clix generate "find all files larger than 100MB and sort by size"
clix generate "kill the process running on port 3000"
clix generate "compress all jpg files in the current directory"

update — Change AI model or token settings

clix update

Launches an interactive prompt to update the AI model and max token configuration stored in ~/.clix/config.json.


save — Save a command for later

clix save "<command>"
clix save "<command>" --tag <tag> [<tag>...]
clix save "<command>" --description "<description>"

Saves a command to your local library. You can optionally add tags and a description to make it easier to find later.

Examples:

clix save "docker ps -a --filter status=exited"
clix save "lsof -i :3000" --tag networking ports --description "Find what is using a port"
clix save "git log --oneline --graph --all" -t git history

saved — View and manage saved commands

clix saved                        # List all saved commands
clix saved --tag <tag>            # Filter by tag
clix saved --search <keyword>     # Search by keyword
clix saved --tags                 # List all tags in use
clix saved --delete <id>          # Delete a command by ID

Examples:

clix saved
clix saved --tag networking
clix saved --search docker
clix saved --tags
clix saved --delete 3

Future Features

  • Support for multiple AI providers (e.g., OpenAI, Google Gemini)
  • Custom model support (bring your own model / self-hosted LLMs)