How to use `uv` package manager with Cursor AI on Ubuntu 24?

uv package manager comes via Snap in Ubuntu 24.
However all apps installed via Snap are not runnable from Cursor IDE terminals:

~ snap list |grep uv
astral-uv                  0.5.11                    298    latest/stable    lengau              classic
~ which uv
/snap/bin/uv

however:

~ uv               
The snap command lets you install, configure, refresh and remove snaps.
Snaps are packages that work across many different Linux distributions,
enabling secure delivery and operation of the latest apps and utilities.

Usage: snap <command> [<options>...]

Commonly used commands can be classified as follows:

           Basics: find, info, install, remove, list
          ...more: refresh, revert, switch, disable, enable, create-cohort
          History: changes, tasks, abort, watch
          Daemons: services, start, stop, restart, logs
      Permissions: connections, interface, connect, disconnect
    Configuration: get, set, unset, wait
      App Aliases: alias, aliases, unalias, prefer
          Account: login, logout, whoami
        Snapshots: saved, save, check-snapshot, restore, forget
           Device: model, remodel, reboot, recovery
     Quota Groups: set-quota, remove-quota, quotas, quota
  Validation Sets: validate
        ... Other: warnings, okay, known, ack, version
      Development: validate

For more information about a command, run 'snap help <command>'.
For a short summary of all commands, run 'snap help --all'.

is it possible to use uv in Cursor AI?

Same issue here. No snap packages are available in the terminal in the Cursor.

2 Likes