npmx.dev
Guide

Keyboard Shortcuts

Navigate npmx.dev efficiently with keyboard shortcuts

npmx.dev supports keyboard navigation for faster browsing.

Command palette

Press ⌘K on macOS, or Ctrl+K on Windows and Linux, to open the command palette from anywhere in the app.

The command palette lets you:

  • Jump between major pages like home, compare, settings, and docs
  • Open package-specific surfaces like the main page, docs, code, and diff views
  • Switch settings such as language, accent color, and background theme
  • Open external resources like docs, chat, source, and package links

You can also open it from the jump to... button in the app header or from the mobile menu if you prefer a visible entry point.

Global shortcuts

KeyAction
macOS: ⌘K
Windows/Linux: Ctrl+K
Open command palette
/Focus search bar
?Highlight keyboard hints
,Open settings
cOpen compare
These shortcuts work anywhere on the site. Press / from any page to quickly search for a package.

Search results

KeyAction
Arrow Up / Arrow DownMove through results
EnterOpen selected package

Package page

KeyAction
mOpen main page
.Open code viewer
dOpen docs
fOpen diff view
cCompare package
Copyright © 2026