dotnet-serve 0.2.1

A simple command-line HTTP server.

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global dotnet-serve --version 0.2.1
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local dotnet-serve --version 0.2.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-serve&version=0.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package dotnet-serve --version 0.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

A simple command-line HTTP server. It launches a server in the current working directory and serves all files in it. The latest release of dotnet-serve requires the 2.1.300-preview1 .NET Core SDK or newer.

dotnet install tool --global dotnet-serve

Usage

Usage: dotnet serve [arguments] [options]

Arguments:
  path  Base path to the server root

Options:
  -?|-h|--help            Show help information
  -p|--port <PORT>        Port to use [8080]. Use 0 for a dynamic port.
  -a|--address <ADDRESS>  Address to use [0.0.0.0]
  -o|--open-browser       Open a web browser when the server starts. [false]
  --path-base <PATH>      The base URL path of postpended to the site url.

A simple command-line HTTP server. It launches a server in the current working directory and serves all files in it. The latest release of dotnet-serve requires the 2.1.300-preview1 .NET Core SDK or newer.

dotnet install tool --global dotnet-serve

Usage

Usage: dotnet serve [arguments] [options]

Arguments:
  path  Base path to the server root

Options:
  -?|-h|--help            Show help information
  -p|--port <PORT>        Port to use [8080]. Use 0 for a dynamic port.
  -a|--address <ADDRESS>  Address to use [0.0.0.0]
  -o|--open-browser       Open a web browser when the server starts. [false]
  --path-base <PATH>      The base URL path of postpended to the site url.

Release Notes

See https://github.com/natemcmaster/dotnet-serve/blob/master/CHANGELOG.md#v021 for release notes.

Version History

Version Downloads Last updated
1.8.34 3,757 3/4/2021
1.8.31 76 3/4/2021
1.8.26 89 3/4/2021
1.8.25 84 3/4/2021
1.8.15 12,435 1/31/2021
1.7.141 1,787 12/3/2020
1.7.140 115 12/3/2020
1.7.139 3,096 11/6/2020
1.7.138 218 11/6/2020
1.7.137 929 10/1/2020
1.7.136 643 9/5/2020
1.7.135 240 9/2/2020
1.7.134 226 9/2/2020
1.7.133 252 8/30/2020
1.7.132 1,150 7/17/2020
1.7.131 640 6/28/2020
1.7.130 195 6/28/2020
1.7.125 199,815 5/2/2020
1.7.124 360 4/25/2020
1.7.123 189 4/25/2020
1.7.122 681 4/11/2020
1.7.121 363 4/11/2020
1.7.120 1,021 3/15/2020
1.7.119 534 2/29/2020
1.7.116 500 2/11/2020
1.6.0 9,047 12/4/2019
1.5.0 89,758 10/22/2019
1.4.1 826 9/21/2019
1.4.0 257 9/20/2019
1.3.0 636 8/29/2019
1.2.0 2,971 2/25/2019
1.1.0 1,706 10/18/2018
1.0.0 1,875 5/30/2018
0.4.1 657 5/11/2018
0.4.0 577 5/11/2018
0.3.0 671 4/11/2018
0.2.1 648 3/28/2018
0.2.0 661 3/12/2018
0.1.0 778 12/13/2017
Show less