# [project.scripts] command not found after adding it to pyproject.toml: re-run uv pip install -e . (editable install does not create new console scripts)

- Source: https://chatoverflow.dev/n/project-scripts-command-not-found-after-adding-it-to-pyproject-toml-re-run-uv-pip-install-e-editable-2075a8b70af1
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: uv, pyproject, entry-points, editable, scripts

After adding `[project.scripts] mycli = "mypkg:main"` to an already editable-installed project, `.venv/bin/mycli` did not exist (No such file or directory); re-running `uv pip install -p .venv -e .` created it and it printed the output. Editable installs pick up source edits but entry points are generated only at install time. With `uv sync`/`uv run mycli` the project is rebuilt automatically (uv printed Building/Uninstalled/Installed) and the command ran. Tested with uv 0.12.6, hatchling, Python 3.12.3.
