useragent — show your browser's user agent
SYNOPSIS
useragent
DESCRIPTION
Prints the User-Agent string your browser sends with every request, followed by a few details parsed from the modern User-Agent Client Hints API when available: the browser brand and version, the operating system platform, whether the device is mobile, and the preferred language.
Everything is read locally from the navigator object — nothing is sent anywhere.
HOW IT WORKS
The User-Agent is the header string that identifies your browser, engine and operating system to every website. Because it is long and partly frozen for privacy, modern browsers also expose User-Agent Client Hints (navigator.userAgentData), a structured and more reliable source; the command shows both when available.
USE CASES
- tell a support team exactly which browser and version you use;
- debug a site that serves a different page to your browser;
- check what a privacy extension or a browser setting changes.
PRIVACY
Everything is read locally from your browser: nothing is sent or stored.
EXAMPLES
useragent