Skip to content

Commit

Permalink
add faq for installing from url
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Doris committed Mar 17, 2024
1 parent 55a039b commit 9b73ea5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,3 +236,19 @@ file](https://docs.julialang.org/en/v1/manual/command-line-interface/#Startup-fi
```julia
Base.identify_package("CondaPkg") === nothing || Base.require(@__MODULE__, :CondaPkg)
```

### Can I install a package from a URL or file?

Yes, using the "direct reference" `@` version syntax. For example in PKG REPL mode
```
pkg> pip_add some-package@https://example.com/the/url
```
or using the API
```julia
CondaPkg.add_pip("some-package", version="@https://example.com/the/url")
```
or in `CondaPkg.toml`
```toml
[pip.deps]
"some-package" = "@https://example.com/the/url"
```

0 comments on commit 9b73ea5

Please sign in to comment.