You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add one curl command that bootstraps uv, Python and a new project #702
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