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
| Key | Action |
|---|---|
⌘K / 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 |