Skip to main content

Cursor Portable

Cursor Portable downloads the official Cursor IDE, the CLI, or both on your computer and copies that build onto a removable drive.

This repository does not contain Cursor. The wizard downloads a relocatable CPython 3.14 with pip onto the drive and copies this tool there. The drive is for the person who created it, under that person's own Cursor account. This tool does not protect sign-in tokens. Windows may bind them to the account that created them, and another computer may have to sign in again.

The drive uses NTFS on Windows, APFS on macOS, and ext4 on Linux. It keeps that system's Cursor build, the relocatable CPython, and one launcher.

From PyPI

The package needs Python 3.11 through 3.15.

python -m pip install cursor-portable
python -m cursor_portable

From this repository

The package needs Python 3.11 through 3.15. uv sync or python -m pip install . installs it. The wizard uses tkinter from that Python.

uv sync
uv run python -m cursor_portable
python -m pip install .
python -m cursor_portable

The dev extra and uv run python scripts/verify.py are described in CONTRIBUTING.md.

Wizard

The wizard opens on the drive page. The Back button changes the choices already filled in:

  • IDE and CLI
  • this operating system and this CPU
  • the Windows user build, on a Windows target
  • a copy of this computer's profile, when the target system is this computer

A different target system starts with an empty profile. When exactly one removable drive can be used, the wizard selects it. A drive that needs formatting still requires its current label to be typed. Typing E: or E:\ confirms a drive with no label. Formatting erases the drive. A read-only mount, the system disk, and non-removable disks are refused.

Re-running the setup updates the portable install. An existing portable profile on the drive is kept unless the wizard is set to a fresh profile. A fresh profile removes the portable user data, extensions, and .cursor profile on the drive.

Launcher

The wizard writes one launcher into CursorPortable/ on the drive. On Windows that file is CursorPortable.cmd. Starting it closes the command window immediately, and the launcher keeps running, with no window of its own, until Cursor exits. CursorPortable.cmd --console, or CURSOR_PORTABLE_CONSOLE=1, keeps the console attached and shows its exit code. On macOS or Linux the launcher is cursor-portable.

The launcher copies the application to a local cache for that drive and points ~/.cursor at the portable profile for the session. The portable Python is prepended on the Windows user PATH. On macOS it is prepended in ~/.zprofile, ~/.zshrc, and ~/.profile. On Linux it is prepended in ~/.profile and ~/.bashrc. PATH and ~/.cursor are restored when Cursor exits.

Host cleanup

Uninstall removes the cache, the PATH entry, and the shortcuts this tool created. The removable drive is left unchanged. Uninstall refuses to run while that Cursor session is still open.

Use the Uninstall button in the setup window. After uv sync, run uv run python -m cursor_portable uninstall. After python -m pip install ., run python -m cursor_portable uninstall.

Layout

The drive layout, profile copy, and in-app update are in docs/portable-cursor.md. Module boundaries are in docs/Architecture.md.

License

MIT.

Metadata

Release files for cursor-portable 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for cursor-portable 1.0.4
File Interpreter ABI Platform Actions
cursor_portable-1.0.4-py3-none-any.whl Python 3 none any Details for cursor_portable-1.0.4-py3-none-any.whl

Release files / cursor_portable-1.0.4-py3-none-any.whl

Download URL cursor_portable-1.0.4-py3-none-any.whl
Size 103.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cab5813488d1342c020f49c167d0cd82c215001fcfb985080995f8a24d643006
BLAKE2b-256 checksum
How to use checksums
479f841b3e4f2c27a6ae1b659a47e1ae8eb21bb184650be9949372b4cc1626a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Security for cursor-portable 1.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for cursor_portable-1.0.4-py3-none-any.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page