uv-init
Initialize a new Python project with uv
TLDR
Initialize new project
$ uv init
Initialize with name$ uv init [project_name]
Initialize library project$ uv init --lib
Initialize in directory$ uv init [path]
SYNOPSIS
uv init [options] [path]
DESCRIPTION
uv init initializes a new Python project. Creates pyproject.toml with project metadata. Sets up project structure for applications or libraries.
PARAMETERS
--name name
Project name.--lib
Create library structure.--app
Create application structure.--no-workspace
Don't add to workspace.--python version
Python version requirement.
