Add ability to search for and install packages
See original GitHub issueNobody wants to manually edit MSBuild XML files to add package references. If you can dotnet restore
then you should be able to dotnet search [query]
to search the NuGet repo or at least dotnet install [package name]
to install a package whose name you already know.
cc: @blackdwarf
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Elegant way to check for missing packages and install them?
Yes. If you have your list of packages, compare it to the output from installed.packages()[,"Package"] and install the missing packages.
Read more >Install.packages() without data sets. - General
I can see that for R CMD INSTALL you can pass --no-data, but I can't seem to find a way to add this...
Read more >The Simple Way to Install a Package in R (with 8 Code ...
Click Tools → Install Packages; Select Repository (CRAN) in the Install from: slot; Type the package name (or several package names, separated ...
Read more >Add ability to correctly re-install packages without using the ...
Instead, there should be a separate argument or command to allow this happen, where the package will first be uninstall and secondly the...
Read more >Install Packages from Repositories or Local Files - rdrr.io
Download and install packages from CRAN-like repositories or from local files. Usage. install.packages(pkgs, lib, repos = getOption("repos"), contriburl = ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi guys, I thought I would just comment on this one since the referenced issue dotnet/sdk#7041 has been closed, but that only pertains to adding packages and does not discuss search? Is a search feature being considered or have I just missed it? Things I checked so far:
dotnet
command.csproj
file in Visual Studio CodeI think search would be a handy addition to the CLI, as the name of a NuGet package is not always obvious, eg
Newtonsoft.Json
. It’s a common feature among other package managers, eg:npm search
,pip search
,composer search
. Thanks for your time!Anyone looking for
dotnet search
please look here: https://github.com/billpratt/dotnet-searchFeedback welcome!