Skip to content

Commit 81d2f4e

Browse files
authored
Fix: Changed --clean to --clear in managing-the-global-packages-and-cache-folders.md (#3511)
1 parent f5a6d77 commit 81d2f4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/consume-packages/managing-the-global-packages-and-cache-folders.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ When using the [packages.config](../reference/packages-config.md), packages are
3737
### Cleaning the global-packages directory
3838

3939
The global-packages directory needs to be manually cleaned to remove packages that are no longer used.
40-
You can do this with the `dotnet nuget locals global-packages --clean` command, or the "clear NuGet local resources" button in Visual Studio's options (equivalent to `dotnet nuget locals all --clear`).
40+
You can do this with the `dotnet nuget locals global-packages --clear` command, or the "clear NuGet local resources" button in Visual Studio's options (equivalent to `dotnet nuget locals all --clear`).
4141
After clearing the global-packages directory, you will need to restore your projects again to redownload all required packages.
4242
In Visual Studio, you may need to reload your solution to clear NuGet's "up to date restores" cache, or alternatively do a command line restore (for example, within Visual Studio's terminal window) with `msbuild -t:restore your.sln`.
4343

0 commit comments

Comments
 (0)