npm-tui

module
v1.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2025 License: MIT

README ΒΆ

npm-tui

Go Reference Release

A minimal, keyboard-first TUI for npm built with Bubble Tea. Search, inspect, install/update your project's npm packages, and view package READMEs β€” all without leaving your terminal.

Demo

Quick keys
Context Key Action
Input Enter Run search for current query
Results ↑/↓ Move selection
Results Enter Toggle details sidebar for selected package
Results (sidebar open) r View README for selected package
Results i Install selected package
Results I Install as dev dependency
Results u Update selected package to latest (if installed)
Anywhere Tab Toggle focus between sections
Anywhere Esc Clear input and show your project packages
Anywhere Ctrl+C Quit

Tip: The help footer updates based on what you can do at the moment.

Features

  • πŸ”Ž Fast npm search from the terminal
  • 🧰 Manage and update your project's npm packages
  • πŸ“Š Results show version, weekly downloads, license, and author
  • πŸ“š Details sidebar with description and quick links (homepage, repo, npm)
  • ⌨️ One-key install (i), dev install (I), and update (u) when installed
  • 🧠 Auto-detects npm, pnpm, yarn, and bun via lockfiles
  • 🧩 Responsive layout with a toggleable sidebar
  • πŸ“– In-app README viewer for packages with a GitHub repo

Install

Install with Go:

go install github.com/fredrikmwold/npm-tui/cmd/npm-tui@latest

Or download a prebuilt binary from the Releases page and place it on your PATH:

Directories ΒΆ

Path Synopsis
cmd
npm-tui command
internal
ui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL