2024-07-16 18:02:54 -04:00
|
|
|
# Working on projects
|
|
|
|
|
|
|
|
|
|
## Creating a new project
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
uv init
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Working on an existing project
|
|
|
|
|
|
|
|
|
|
<!-- What makes a project compatible with uv commands? What are my alternatives? -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Running commands
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
uv run
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Managing dependencies
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
uv add
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
uv remove
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Next steps
|
|
|
|
|
|
|
|
|
|
See the [projects concept](../projects.md) documentation for more details on projects.
|