Arquidev.Env 2.1.0

dotnet add package Arquidev.Env --version 2.1.0
                    
NuGet\Install-Package Arquidev.Env -Version 2.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Arquidev.Env" Version="2.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Arquidev.Env" Version="2.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Arquidev.Env" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Arquidev.Env --version 2.1.0
                    
#r "nuget: Arquidev.Env, 2.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Arquidev.Env@2.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Arquidev.Env&version=2.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Arquidev.Env&version=2.1.0
                    
Install as a Cake Tool

env

Strongly-typed env variables for scripting.

#r "paket: nuget Arquidev.Env ~> 2"
open Arquidev.Tools

let env = readEnv<{|TEST_VALUE: string|}>()

if env.TEST_VALUE = "blue" then ...

Examples

Default values:

type MyEnv = {
    [<Env.Default("red")>] FAVOURITE_COLOR: string
}

let env = readEnv<MyEnv>()

Optionals:

let env = readEnv<{|TEST_VALUE: string option|}>()
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.1.0 215 6/19/2026
2.1.0-alpha.2614250024 66 6/19/2026
2.1.0-alpha.2613827675 68 6/19/2026
2.1.0-alpha.2613824307 67 6/19/2026
2.1.0-alpha.2585833956 74 6/8/2026
2.1.0-alpha.2585809427 69 6/8/2026
2.1.0-alpha.2585796578 65 6/8/2026
2.1.0-alpha.2581723824 60 6/6/2026
2.1.0-alpha.2581721727 61 6/6/2026
2.1.0-alpha.2552688363 67 5/26/2026
2.1.0-alpha.2551269831 63 5/25/2026
2.1.0-alpha.2551223534 63 5/25/2026
2.1.0-alpha.2551043129 78 5/25/2026
2.1.0-alpha.2551011162 61 5/25/2026
2.0.3 476 5/18/2026
2.0.2 164 4/12/2026
2.0.2-alpha.2447441873 68 4/12/2026
2.0.2-alpha.2447395786 67 4/12/2026
2.0.1 202 3/19/2026
2.0.0 129 2/23/2026
Loading failed