Error installing Cursor CLI on Ubuntu 24.04: stdin: unexpected end of file

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

Error installing Cursor CLI from Command Line on Linux (Ubuntu 24.04 LTS, latest update)
This error happens consistently and regardless of the network /laptop I use (on both). Please advise:

$ curl https://cursor.com/install -fsS | bash

Cursor Agent Installer

✓ Detected linux/x64
✓ Directory created
▸ Downloading Cursor Agent package...
  Download URL: https://downloads.cursor.com/lab/2026.04.08-a41fba1/linux/x64/agent-cli-package.tar.gz
######################################################################## 100.0%

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
✗ Download failed. Please check your internet connection and try again.
✗ If the problem persists, the package might not be available for linux/x64.

Steps to Reproduce

run “curl Cursor · CLI -fsS | bash” as recommended on Cursor website

Expected Behavior

Cursor CLI is installed

Operating System

Linux

Version Information

latest cursor (curl https://cursor.com/install -fsS | bash)

Does this stop you from using Cursor

Yes - Cursor is unusable

Please disregard. The issue was caused by my local curl setup.

my ~/.curlrc had -w "\n" and this was causing the issue with cursor installation

Hey, glad you figured it out! Yeah, -w "\n" in ~/.curlrc adds an extra character to curl output, and when you pipe it into tar it breaks the gzip archive. Classic gotcha.

Marking this topic as solved, it might help another user who hits the same issue.