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
| Key | Action |
|---|---|
macOS: ⌘KWindows/Linux: Ctrl+K | Open command palette |
/ | Focus search bar |
? | Highlight keyboard hints |
, | Open settings |
c | Open compare |
These shortcuts work anywhere on the site. Press
/ from any page to quickly search for a package.Search results
| Key | Action |
|---|---|
Arrow Up / Arrow Down | Move through results |
Enter | Open selected package |
Package page
| Key | Action |
|---|---|
m | Open main page |
. | Open code viewer |
d | Open docs |
f | Open diff view |
c | Compare package |