For the complete documentation index, see llms.txt. This page is also available as Markdown.

Downloading the .NET agent

Download the SeaLights .NET Agent as a self-contained package or from NuGet.

The latest .NET Agent is available as self-contained packages for Windows, Linux, and Alpine.

Use the self-contained packages when you want the agent to run without relying on a locally installed .NET runtime.

The public artifact endpoint still uses dotnetcore in the URL path. That path is expected.

If you need a platform-dependent package, contact Support.

OS
Download link
Minimum System Requirements

Windows

Windows 10 build 17063 (and higher)

Linux

Ubuntu 20.04 (and higher), Debian 11 (and higher), RHEL 8.10 (and higher)

Alpine

Alpine 3.18 (and higher)

  • If you cannot access agents.sealights.co, use https://{company}.sealights.co/dotnetcore/latest/sealights-dotnet-agent-{os}-self-contained.{archive-extension} and replace {company} with your company DNS prefix.

  • Alpine uses musl, while most Linux distributions use glibc. That is why Alpine has a separate artifact.

Downloading from NuGet

The agent is also published on NuGet Gallery | sealights-technologies.

  • Sealights.DotNet.Windows

  • Sealights.DotNet.Linux

  • Sealights.DotNet.Alpine

You can download the platform package that matches your environment.

Sample scripts

Download from NuGet

These examples download the package, extract it locally, and create a short sl-dotnet-agent path.

Download from SeaLights

You can deploy the token as a file in the agent folder automatically via a command like: Out-File -InputObject $SL_AGENT_TOKEN -NoNewline -Force (Join-Path .\sl-dotnet-agent\ "sltoken.txt") This will allow you to save the token parameter from the agent's commands.

CI examples

Use these examples when you want to download the agent inside the pipeline itself.

Retrieve the agent version selected in your Settings page

These examples retrieve the version selected in the dashboard settings page.

Security

If you download and copy the agent manually, its files might get blocked by Windows OS.

You have two options to unblock them:

  • Right-click both the SL.DotNet.exe and SL.DotNet.dll files and check the Unblock check box in the security section.

  • Use this PowerShell command: Get-ChildItem -Path 'C:\Sealights\agent\' -Recurse | Unblock-File

Last updated

Was this helpful?