Skip to content

Commit eadb2b5

Browse files
committed
Update readme to cover how to update the dotnet global tool
1 parent 9f4ea4d commit eadb2b5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ To install dotnet-json as a global tool, run the following command:
1717
dotnet tool install -g dotnet-json
1818
```
1919

20+
Or, if you already have `dotnet-json` installed and want to update it to the latest version, run the following command:
21+
```
22+
dotnet tool update -g dotnet-json
23+
```
24+
2025
## Usage
2126

2227
When you installed dotnet-json as a .NET Core global tool, you can run it as either `dotnet json` or `dotnet-json`.

dotnet-json.Tests/dotnet-json.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<TargetFramework>netcoreapp3.1</TargetFramework>
55
<RootNamespace>dotnet_json.Tests</RootNamespace>
66
<IsPackable>false</IsPackable>
7+
<IsPublishable>false</IsPublishable>
78

89
<LangVersion>8.0</LangVersion>
910
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

0 commit comments

Comments
 (0)