Skip to content

Incorrect suggestion when you invoke uv check without UV_PREVIEW=1 set #19643

@AlexWaygood

Description

@AlexWaygood

Summary

I invoke uv check:

~/code/oss/all-projects (all-projects) [2] % uv check
warning: `uv check` is experimental and may change without warning. Pass `--preview-features check` to disable this warning.
All checks passed!

Hmmm... I got a warning... better do what that helpful suggestion is telling me to do instead...

~/code/oss/all-projects (all-projects) % uv --preview-features check
error: 'uv' requires a subcommand but one was not provided
  [subcommands: auth, run, init, add, remove, version, sync, lock, export, tree, format, check, audit, tool, python, pip, venv, virtualenv, v, build, publish, workspace, build-backend, cache, self, clean, generate-shell-completion, --generate-shell-completion, help]

Usage: uv [OPTIONS] <COMMAND>

For more information, try '--help'.

oh. that didn't work either. well, it says it needs a subcommand...

~/code/oss/all-projects (all-projects) [2] % uv check --preview-features
error: a value is required for '--preview-features <PREVIEW_FEATURES>' but none was supplied

For more information, try '--help'.

😒

Platform

macOS

Version

uv 0.11.18 (e326669 2026-06-01 aarch64-apple-darwin)

Python version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions