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

termx-cli

v1.0.6

Published

One command terminal customizer: Oh My Zsh on macOS/Linux, Oh My Posh on Windows, with auto-suggestions, Nerd Fonts, a live theme picker, env manager and clean uninstall.

Readme

termx: one-command terminal customizer

npm version npm downloads CI license

📦 npm: npmjs.com/package/termx-cli

Same command on every device. termx detects the OS and installs the right setup:

| | macOS / Linux | Windows | |---|---|---| | Prompt engine | Oh My Zsh (+ Powerlevel10k, Spaceship, 140+ themes) | Oh My Posh (100+ themes) | | Auto-suggestions | zsh-autosuggestions + zsh-syntax-highlighting + zsh-completions | PSReadLine predictions (ListView) + CompletionPredictor (PS 7) | | Icons / font | MesloLGS Nerd Font, set in Terminal.app & iTerm2 | MesloLGM Nerd Font, set in Windows Terminal | | Extras | fzf, z jump, Homebrew env, history tuning | Terminal-Icons, fzf, Tab menu-complete |

Install

With npm: the same two commands on macOS, Linux and Windows:

npm i -g termx-cli
termx install

npm i -g installs the termx command globally, so it's always available. termx install then sets up everything. As one line: npm i -g termx-cli && termx install (bash, zsh, cmd, PowerShell 7). In Windows PowerShell 5.1 use ; instead of &&.

Update later with npm i -g termx-cli@latest.

npx termx-cli@latest install also works: it installs the latest termx-cli globally first, then runs setup with it. Always add @latest, because without it npx can reuse an old cached copy.

Without Node, from a clone of this repo: ./install (mac/Linux) or .\install (Windows).

Or the no-Node one-liners:

curl -fsSL https://raw.githubusercontent.com/arifbiswas/termx-cli/main/remote/install.sh | bash
irm https://raw.githubusercontent.com/arifbiswas/termx-cli/main/remote/install.ps1 | iex

Options: --theme NAME (start with a theme), --yes (no questions).

What gets configured automatically (no manual steps)

  • Package manager (Homebrew on mac / winget on Windows), git, zsh, fzf
  • Oh My Zsh / Oh My Posh + plugins + themes + Nerd Font
  • Terminal font (Terminal.app, iTerm2, Windows Terminal)
  • Shell profile (~/.zshrc / PowerShell 5.1 and 7 profiles). Your existing PATH, aliases and env are kept and backed up first
  • Default shell → zsh on mac
  • Windows execution policy is checked first. If PowerShell can't run scripts, termx sets RemoteSigned for your user (both PowerShell 5.1 and 7) before installing anything. If that fails, for example because Group Policy locks it, setup stops with the exact fix, so nothing is half-installed. Downloaded script files are unblocked too.
  • termx added to PATH. Powerlevel10k comes preconfigured, so no setup wizard pops up

Re-running install is safe (idempotent).

Usage: identical on all platforms

termx theme                 interactive picker: arrows + search + live preview, Enter applies
termx theme gallery         render EVERY theme's prompt in your terminal
termx theme list            list theme names (* = current)
termx theme set agnoster    apply a theme (shell reloads instantly)
termx theme try agnoster    test a theme without saving it
termx theme random          surprise me
termx env set KEY VALUE     add an env variable for all new shells
termx env path ~/bin        add a folder to PATH
termx env list | unset KEY
termx update                update engine, plugins, themes
termx doctor                check what's installed and configured
termx uninstall             menu: termx only / everything
termx uninstall --all --yes

Suggestions: type and the grey suggestion appears. Press → or Ctrl+Space to accept, Ctrl+→ to accept one word. On Windows the list view shows several suggestions; move with ↑/↓ and press F2 to switch to inline.

Uninstall

termx uninstall (or ./uninstall / .\uninstall):

  1. termx only: removes termx's config blocks and PATH entry, keeps Oh My Zsh / Oh My Posh
  2. everything: also removes Oh My Zsh / Oh My Posh + modules, restores your original ~/.zshrc, resets the terminal font

Backups are kept in ~/.termx-backups. Fonts, fzf and Homebrew are left installed.

Layout

install, install.cmd        same-name entry points (mac/linux · windows)
uninstall, uninstall.cmd
src/unix/termx              macOS/Linux CLI (bash 3.2 compatible)
src/windows/termx.ps1       Windows CLI (PowerShell 5.1 + 7)
remote/install.sh|.ps1      curl / irm one-liners

Files termx owns: ~/.termx/ (theme, env, backups, bin). In ~/.zshrc only the blocks between # >>> termx … >>> markers.