Create deployments from the CLI

Deployments can be easily created from either the command-line or a build server using the CLI. There's a help page dedicated to the deployment command but here's a quick recap.

If not already installed, start by installing the CLI:

dotnet tool install --global Elmah.Io.Cli

Then, create a new deployment using the deployment command:

elmahio deployment --apiKey API_KEY --version 1.0.0

In case you are calling the CLI from a build server, you may want to exclude the logo and copyright message using the --nologo parameter to reduce log output and to avoid cluttering the build output:

elmahio deployment --nologo --apiKey API_KEY --version 1.0.0

This article was brought to you by the team. is the best error management system for .NET web applications. We monitor your website, alert you when errors start happening, and help you fix errors fast.

See how we can help you monitor your website for crashes Monitor your website