Skip to content

Commit 24babd9

Browse files
committed
uv instructions
1 parent 4f4cbae commit 24babd9

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

skills/setup/SKILL.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ npx codeflash --version
2828
If this fails, codeflash is not installed. Detect the project's package manager and install accordingly:
2929

3030
- If a `uv.lock` file exists or `pyproject.toml` uses `[tool.uv]`: run `uv add --dev codeflash`
31-
- Otherwise: run `pip install codeflash` or `uv pip install codeflash` if there is a uv.lock file present in the directory.
31+
- Otherwise: run `pip install codeflash` or `uv pip install codeflash` if there is a `uv.lock` file present in the directory.
3232
- For js/ts code, run `npm install --dev codeflash`
3333

3434
**Never** use `uv tool install` to install codeflash.
@@ -39,12 +39,18 @@ For python and java code
3939
```bash
4040
codeflash auth status
4141
```
42+
or
43+
```bash
44+
uv run codeflash auth status
45+
```
46+
if `uv.lock` is present.
47+
4248
for js/ts code
4349
```bash
4450
npx codeflash auth status
4551
```
4652

47-
If this fails, the user is not authenticated. Run `codeflash auth login` for python and java code and `npx codeflash auth login` for js/ts code interactively. This requires user interaction, so let them know the login flow is starting.
53+
If this fails, the user is not authenticated. Run `codeflash auth login` or `uv run codeflash auth login` if `uv.lock` is present for python and java code and `npx codeflash auth login` for js/ts code interactively. This requires user interaction, so let them know the login flow is starting.
4854

4955
### Check 3a: Project Configuration (Python)
5056

0 commit comments

Comments
 (0)