Skip to content

Support installing checkov with uv tool #7199

Open
@Owen-OptiGrid

Description

@Owen-OptiGrid

Describe the feature

I'd like to be able to install checkov globally with uv tool install checkov but this doesn't work properly (on Windows at least).

Examples

I install checkov as a uv tool which appears to work fine, e.g.

uv tool install checkov
Resolved 95 packages in 1.23s
Installed 95 packages in 1.30s
 + aiodns==3.4.0
 + aiohappyeyeballs==2.6.1
 + aiohttp==3.12.7
 + aiomultiprocess==0.9.1
 + aiosignal==1.3.2
 + annotated-types==0.7.0
 + argcomplete==3.6.2
 + asteval==1.0.5
 + attrs==25.3.0
 + bc-detect-secrets==1.5.41
 + bc-jsonpath-ng==1.6.1
 + bc-python-hcl2==0.4.2
 + beartype==0.21.0
 + beautifulsoup4==4.13.4
 + boolean-py==5.0
 + boto3==1.35.49
 + botocore==1.35.99
 + cached-property==2.0.1
 + cachetools==5.5.2
 + certifi==2025.4.26
 + cffi==1.17.1
 + charset-normalizer==3.4.2
 + checkov==3.2.436
 + click==8.2.1
 + click-option-group==0.5.7
 + cloudsplaining==0.7.0
 + colorama==0.4.6
 + configargparse==1.7.1
 + contextlib2==21.6.0
 + cyclonedx-python-lib==7.6.2
 + decorator==5.2.1
 + defusedxml==0.7.1
 + docker==7.1.0
 + dockerfile-parse==2.0.1
 + dpath==2.1.3
 + frozenlist==1.6.2
 + gitdb==4.0.12
 + gitpython==3.1.44
 + idna==3.10
 + importlib-metadata==7.2.1
 + jinja2==3.1.6
 + jmespath==1.0.1
 + jsonschema==4.24.0
 + jsonschema-specifications==2025.4.1
 + junit-xml==1.9
 + lark==1.2.2
 + license-expression==30.4.1
 + markdown==3.8
 + markupsafe==3.0.2
 + multidict==6.4.4
 + networkx==2.6.3
 + numpy==2.2.6
 + orjson==3.10.18
 + packageurl-python==0.13.4
 + packaging==23.2
 + ply==3.11
 + policy-sentry==0.13.2
 + prettytable==3.16.0
 + propcache==0.3.1
 + py-serializable==1.1.2
 + pycares==4.8.0
 + pycep-parser==0.5.1
 + pycparser==2.22
 + pydantic==2.11.5
 + pydantic-core==2.33.2
 + pyparsing==3.2.3
 + python-dateutil==2.9.0.post0
 + pywin32==310
 + pyyaml==6.0.2
 + rdflib==7.1.4
 + referencing==0.36.2
 + regex==2024.11.6
 + requests==2.32.3
 + rpds-py==0.25.1
 + rustworkx==0.16.0
 + s3transfer==0.10.4
 + schema==0.7.5
 + semantic-version==2.10.0
 + six==1.17.0
 + smmap==5.0.2
 + sortedcontainers==2.4.0
 + soupsieve==2.7
 + spdx-tools==0.8.3
 + tabulate==0.9.0
 + termcolor==2.3.0
 + tqdm==4.67.1
 + typing-extensions==4.14.0
 + typing-inspection==0.4.1
 + unidiff==0.7.5
 + uritools==5.0.0
 + urllib3==2.4.0
 + wcwidth==0.2.13
 + xmltodict==0.14.2
 + yarl==1.20.0
 + zipp==3.22.0
Installed 2 executables: checkov, checkov.cmd

That's great, but when I try to run checkov I get this error:

checkov --help
File association not found for extension .py
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Apps > Advanced app settings > App execution aliases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    contribution requestedThis is a great feature idea, but we will need a contribution to get it added to Checkov.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions