Skip to content

Commit 4ea817d

Browse files
authored
Added package install command (#1218)
1 parent 7693235 commit 4ea817d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/Your-first-app-with-System-CommandLine.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ Open a new console and run the following commands:
1313

1414
## Install the System.CommandLine package
1515

16+
Use `dotnet` to add the package to your project. From the project directory, run:
17+
18+
```console
19+
> dotnet add package System.CommandLine --prerelease
20+
```
21+
22+
Or see more options on Nuget
1623
[![Nuget](https://img.shields.io/nuget/v/System.CommandLine.svg)](https://nuget.org/packages/System.CommandLine)
1724

1825
## Add some code
@@ -90,4 +97,3 @@ The value for --file-option is: null
9097
This program is equivalent to the one demonstrated in [Your first app with System.CommandLine.DragonFruit](Your-first-app-with-System-CommandLine-DragonFruit.md).
9198

9299
To explore its features, take a look at [Features: overview](Features-overview.md)
93-

0 commit comments

Comments
 (0)