npmx.dev
Guide

Keyboard Shortcuts

Navigate npmx.dev efficiently with keyboard shortcuts

npmx.dev supports keyboard navigation for faster browsing.

Command palette

Press ⌘K or Ctrl+K 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 click the command palette button in the app header if you prefer a visible entry point.

Global shortcuts

KeyAction
⌘K / Ctrl+KOpen 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