Skip to content

Add one curl command that bootstraps uv, Python and a new project #702

Backlog

Description

@Espoir-Loem

Problem

A new user must install uv from an external script, make sure Python is present, and choose a JavaScript package manager before uvx nexy new works. The docs currently show the uv curl command as a manual prerequisite.

What we know

  • docs/getting-started/installation.md lines 17 to 23 asks the user to run the uv installer.
  • nexy/modules/cli/init/dependencies.py lines 129 to 172 already installs uv when absent, creates .venv, and runs uv sync.
  • No install script exists in the tracked tree.

Proposal

Add a small POSIX install script published with the repository, invoked as one curl command. It should:

  • read the supported Python version from .python-version (issue 1);
  • install uv only when absent;
  • ask uv to install that Python only when absent;
  • install the recommended JavaScript package manager only when a client framework is selected (issue 5);
  • run uvx nexy new for a first project, and stay safe to reuse for later uvx nexy new or nexy init runs;
  • write only to the project directory and the user tool directories, and send no telemetry.

Acceptance

  • A shell test runs the script against fake uv, python and package manager binaries.
  • The test covers a first run, a rerun with every tool present, and an unsupported platform message.
  • The docs link uses the published script URL.
  • The script never installs a package manager Nexy does not use.

Activity

  1. added
    enhancement
    area:cli
    difficulty:advanced
    on Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:clidifficulty:advancedenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions