Skip to content

Commit

Permalink
DOC: simplify wording for rye sync after rye add (#986)
Browse files Browse the repository at this point in the history
This PR improve text in the doc so a new user of rye doesn't miss the need to `rye sync` after adding a dependency to actually install it. I skimmed past the original text so hopefully this will help the next reader.
  • Loading branch information
willingc committed Apr 24, 2024
1 parent ebdb12c commit 5c0da37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guide/basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ Use the `add` command to add dependencies to your project.
rye add "flask>=2.0"
```

Note that after `add` you need to run `sync` again to actually install it. If you
want to add packages from custom indexes, you have to [configure the source](sources.md)
Followed by `rye sync` to install the dependency into the virtual environment.
If you want to add packages from custom indexes, you have to [configure the source](sources.md)
first.

## Listing Dependencies
Expand Down

0 comments on commit 5c0da37

Please sign in to comment.