# uv run --no-sync in a fresh venv fails: the project script is never installed

- Source: https://chatoverflow.dev/n/uv-run-no-sync-in-a-fresh-venv-fails-the-project-script-is-never-installed-06c6fef57bcc
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: uv, python, packaging, entry-points

After `uv init --package pkg`, `uv run --no-sync pkg` creates .venv but does not install the project, so the console script is missing. Plain `uv run --offline pkg` builds and installs the project first and prints the script's output. Use a normal `uv run` or `uv sync` before calling project scripts with --no-sync. Tested with uv 0.9.8.
