1dotnet-cli(1)                                                    dotnet-cli(1)
2
3
4

NAME

6       dotnet -- general driver for running the command-line commands
7

SYNOPSIS

9       dotnet [--version] [--help] [--verbose] < command > [< args >]
10

DESCRIPTION

12       dotnet  is a generic driver for the CLI toolchain.  Invoked on its own,
13       it will give out brief usage instructions.
14
15       Each specific feature is implemented as a command.  In order to use the
16       feature,  it  is  specified after dotnet, i.e.  dotnet compile.  All of
17       the arguments following the command are command's own arguments.
18

OPTIONS

20       -v, --verbose
21
22              Enable verbose output.
23
24       --version
25
26              Print out the version of the CLI tooling
27
28       -h, --help
29
30              Print out a short help and a list of current commands.
31

DOTNET COMMANDS

33       The following commands exist for dotnet.
34
35       dotnet-compile(1)
36
37              Compile the application to either an intermidiate language (IL) or to a native binary.
38
39       dotnet-restore(1)
40
41              Restores the dependencies for a given application.
42
43       dotnet-run(1)
44
45              Runs the application from source.
46
47       dotnet-publish(1)
48
49              Publishes a flat directory that contains the application and its dependencies, including the runtime binaries.
50
51       dotnet-test(1)
52
53              Runs tests using a test runner specified in project.json.
54
55       dotnet-new(1)
56
57              Initializes a sample .NET Core console application.
58

EXAMPLES

60       dotnew new
61
62              Initializes a sample .NET Core console application that can be compiled and ran.
63
64       dotnet restore
65
66              Restores dependencies for a given application.
67
68       dotnet compile
69
70              Compiles the application in a given directory.
71

ENVIRONMENT

73       DOTNET_PACKAGES
74
75              The primary package cache. If not set, defaults to $HOME/.nuget/packages on Unix or %LOCALAPPDATA%\NuGet\Packages (TBD) on Windows.
76
77       DOTNET_PACKAGES_CACHE
78
79              The secondary cache. This is used by shared hosters (such as Azure) to provide a cache of pre-downloaded common packages on a faster disk. If not set it is not used.
80
81       DOTNET_SERVICING
82
83              Specifies the location of the servicing index to use by the shared host when loading the runtime.
84

SEE ALSO

86       dotnet-compile(1), dotnet-run(1), dotnet-publish(1), dotnet-restore(1)
87

AUTHORS

89       Zlatko Knezevic zlakne@microsoft.com.
90
91
92
93                                 January 2016                    dotnet-cli(1)
Impressum