Do these 3 things before closing this tab:
1Scan for outdated or missing drivers - takes under a minute2Clear out junk files and repair common Windows errors3Fix the driver behind crashes, sound loss and screen glitchesThere is no dedicated ScreenshotMachine CLI installation established by the official materials reviewed. ScreenshotMachine documents a remote screenshot API and a Bash/curl example for calling it. On Ubuntu, use Bash and curl to send a request to that API; you are not installing a local screenshot engine. This guide shows the documented command-line route and how to troubleshoot it.
What “install ScreenshotMachine CLI” means
ScreenshotMachine’s official GitHub organization describes its screenshotmachine-bash repository as a simple Bash (curl) script example for calling the API, while its API documentation describes HTTP requests to a hosted service. The official sources reviewed do not establish a separately installable Ubuntu CLI package. That does not rule out unrelated third-party tools with similar names.
As an Amazon Associate I earn from qualifying purchases.
The practical setup is to confirm Bash and curl are available, obtain your own ScreenshotMachine customer key, then run a Bash command that calls the screenshot API. ScreenshotMachine’s API documentation says a unique customer key is provided through its signup process. Do not publish your key in scripts or repositories.
Free tools Windows power users keep installed
One-click scans. No signup required.
Check Ubuntu for Bash and curl
Bash is the shell used in the example; curl sends the HTTP request. ScreenshotMachine’s reviewed materials do not specify Ubuntu versions, minimum requirements, or Ubuntu package-install commands. Check your release’s package guidance if either command is missing rather than assuming a version-specific installation procedure.
#1 Best Overall
- [ULTRA-RUGGED DESIGN] MIL-STD-810G and IP65 certified. Built to survive 6-foot drops, heavy rain, and extreme vibrations. Features a magnesium alloy chassis with an integrated carry handle for maximum portability
- [4G LTE - WORK ANYWHERE] Integrated 4G LTE Multi-Carrier Mobile Broadband. Stay connected to the internet in remote areas or on the road without relying on Wi-Fi or phone hotspots. True mobile freedom for field professionals
- [1200-NIT SUNLIGHT READABLE] 13.1" XGA Touchscreen with CircuLumin technology. At 1200 nits, it is nearly 4x brighter than a standard laptop, ensuring perfect visibility under direct, intense sunlight
- [LINUX UBUNTU PRE-INSTALLED] Fast, secure, and bloatware-free. Optimized for developers, network engineers, and diagnostic software that thrives in a stable, open-source environment
- [LEGACY SERIAL PORT] Features a native RS-232 Serial Port, HDMI, and USB 3.0. Essential for connecting directly to industrial machinery, CNCs, and automotive diagnostic tools without unreliable adapter
In a terminal, check whether both commands are available:
bash --version
curl --version
If the commands print version information, the shell and HTTP client are present. If a command is not found, install or enable it using the package instructions for your Ubuntu release.
Get an API key and choose the capture settings
Obtain your customer API key through ScreenshotMachine’s account process. The screenshot endpoint is https://api.screenshotmachine.com/, and requests use HTTP GET query parameters. The requested page URL and customer key are required.
The documentation lists these options and defaults:
| Setting | Documented values or behavior |
|---|---|
| Width and height | Default dimensions are 120x90. Width may be 100–1920 pixels; height may be 100–9999 pixels. Use full for full-length capture. |
| Device | Default is desktop; supported values listed are desktop, phone, and tablet. |
| Format | Default is jpg; documented formats are jpg, png, and gif. |
| Other options | The API documentation also lists cache age, capture delay, and zoom. |
For a long page, ScreenshotMachine advises allowing a longer capture delay—such as 2000 milliseconds or more—because images or animations may need time to load. The necessary delay depends on the page.
Rank #2
- Intel Core i5-10210U (up to 4.2GHz) - 1TB PCIe NVMe + 1TB HDD - 32GB DDR4 SDRAM
- 17.3" HD+ (1600x900) Display, Intel UHD Graphics 620
- Built in HD 720p Webcam with Microphone - Bluetooth Version4.2
- I/O Ports: 2x USB 3.1 (Data Only), 1x USB 2.0, 1x HDMI, 1x Headphone/Microphone Combo Jack
- Linux Mint Cinnamon 64-Bit - 6-Row Keyboard w/ Full Numberpad
Call the screenshot API from Bash
Replace YOUR_CUSTOMER_KEY and the sample page URL with your own values. This example requests a full-length PNG and saves the response as shot.png. curl encodes query parameters supplied with -G and --data-urlencode, which avoids manually escaping characters in the target URL.
curl -G 'https://api.screenshotmachine.com/'
--data-urlencode 'key=YOUR_CUSTOMER_KEY'
--data-urlencode 'url=https://example.com/'
--data-urlencode 'dimension=full'
--data-urlencode 'format=png'
--data-urlencode 'delay=2000'
-o shot.png
ScreenshotMachine’s documentation uses query parameters for its API. Confirm parameter names and any additional options against the current ScreenshotMachine API documentation before adapting the example. The documented defaults are a 120×90 image, desktop device, and JPG format; set the options explicitly when those defaults are not suitable.
To request a fixed viewport instead, choose a width and height within the documented limits, for example:
curl -G 'https://api.screenshotmachine.com/'
--data-urlencode 'key=YOUR_CUSTOMER_KEY'
--data-urlencode 'url=https://example.com/'
--data-urlencode 'dimension=1280x800'
--data-urlencode 'device=desktop'
--data-urlencode 'format=jpg'
-o shot.jpg
Change the device to phone or tablet for the documented device modes, and select a supported format if you need PNG or GIF output. For the exact parameter spelling and accepted values for each option, follow the API documentation.
Use the separate PDF API when you need a PDF
ScreenshotMachine’s PDF service is separate from its screenshot endpoint. The official Bash/curl sample calls https://pdfapi.screenshotmachine.com, not the screenshot endpoint, and sends PDF options before writing the response to a local file. Do not treat a screenshot request’s endpoint or image-format parameters as interchangeable with the PDF service.
Rank #3
- Powerful Linux Laptop: This IdeaPad Slim 3 Laptop comes pre-installed with Ubuntu Linux, offering fast performance, robust security, and a clean, user-friendly experience. Enjoy full customization, seamless hardware compatibility, and access to thousands of open-source apps. Whether you're working, creating, or coding, it's built to keep up with everything you do.
- A Multitasking Master: The latest AMD Ryzen 7 5825U processor (up to 4.5 GHz) delivers powerful performance with 8 cores and 16 threads for smooth multitasking. Integrated AMD Radeon Graphics provide crisp visuals for streaming, browsing, photo editing, and casual gaming. With smart machine intelligence, it adapts to your needs for a fast, responsive experience.
- 15.6" Full HD Display: The IdeaPad Slim 3 boasts an 88% screen-to-body ratio for a floating, edge-to-edge visual experience. TÜV Low Blue Light certification reduces eye strain, making it perfect for long work or study sessions.
- Military-Grade Durability: The smart IdeaPad Slim 3 combines portability and durability, letting you work, study, and play on the go. With a profile 10% slimmer than the previous generation, it's lightweight yet military-grade rugged, ready for anything, anywhere.
- Versatile Connectivity: Enjoy the security of a built-in webcam with a privacy shutter. Connect effortlessly with multiple ports: 2x USB A, 1x USB C, 1x HDMI, 1x SD Card Reader, 1x Headphone/Microphone combo. Bundle comes with Stylus Pen, 256GB Portable SSD and 5-in-1 Docking Station.
Use the official PDF example and its documented options at ScreenshotMachine’s PDF API documentation. The reviewed materials establish that it uses Bash/curl and redirects the returned PDF to an output file; check that page for the exact current parameters before running a request.
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Protect keys when calling from a public web page
A command run locally can keep your customer key out of public HTML. If you make screenshot API calls from a public HTML page, ScreenshotMachine documents a hash safeguard: calculate an MD5 hash from the requested URL plus your secret phrase. When a secret phrase is set, requests with a missing or incorrect hash are ignored. Keep the secret phrase private; do not expose it in browser code. Follow the API documentation’s exact hash construction and parameter requirements.
Troubleshoot common problems
bash: command not foundorcurl: command not found: This is a local Ubuntu environment issue, not an API response. Confirm the relevant package or shell is installed for your Ubuntu release.- The saved response is an error image: ScreenshotMachine documents that invalid or incomplete requests can return an error image. Inspect the
X-Screenshotmachine-Responseheader for the error code. The documentation givesinvalid_urlas an example; check the target URL and request parameters. - Invalid or incomplete request: Verify that the customer key and page URL are included and that option values are accepted by the API. Use URL encoding for the page URL rather than assembling an unescaped query string.
- A public-page request is ignored: If you configured a secret phrase, make sure the request includes the correct hash. The documented safeguard ignores requests with a missing or incorrect hash.
- The page capture misses images or animation: Increase the capture delay. ScreenshotMachine advises using a longer delay for long pages, such as 2000 milliseconds or more.
- You expected a local browser or executable: The official materials reviewed describe a hosted API and Bash/curl example, not a locally installed ScreenshotMachine capture engine.
Or skip the browser setup
ScreenshotNeo is a website screenshot API and MCP server. Its one-request API can return a screenshot or PDF; cookie banners, newsletter popups, and chat widgets are removed before capture. Bot checks, blank pages, and failed loads are not billed, and an MCP server lets AI agents take screenshots. One thousand screenshots per month are free with no card; paid plans start at $5 for 3,000.
Example using cURL:
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
See the ScreenshotNeo API documentation for request options. Sign up for 1,000 free screenshots a month with no card.
Frequently Asked Questions
Is ScreenshotMachine’s Bash script a separate screenshot program?
The official GitHub organization describes it as an example Bash/curl client for calling ScreenshotMachine’s API, rather than a local capture engine.
Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchPC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Can the screenshot API return a full-page image?
The API documentation accepts full as a dimension for full-length capture.
Does ScreenshotMachine use the same endpoint for screenshots and PDFs?
No. The screenshot API and PDF service use distinct endpoints and parameters.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




