Apple.Pkl.Cli.linux-x64 0.30.0

dotnet add package Apple.Pkl.Cli.linux-x64 --version 0.30.0
                    
NuGet\Install-Package Apple.Pkl.Cli.linux-x64 -Version 0.30.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="Apple.Pkl.Cli.linux-x64" Version="0.30.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Apple.Pkl.Cli.linux-x64" Version="0.30.0" />
                    
Directory.Packages.props
<PackageReference Include="Apple.Pkl.Cli.linux-x64" />
                    
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 Apple.Pkl.Cli.linux-x64 --version 0.30.0
                    
#r "nuget: Apple.Pkl.Cli.linux-x64, 0.30.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 Apple.Pkl.Cli.linux-x64@0.30.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=Apple.Pkl.Cli.linux-x64&version=0.30.0
                    
Install as a Cake Addin
#tool nuget:?package=Apple.Pkl.Cli.linux-x64&version=0.30.0
                    
Install as a Cake Tool

Apple.Pkl.Cli

NuGet License: MIT

Platform-specific NuGet packages that provide the Apple Pkl CLI binary for use in .NET projects and MSBuild tasks.

Overview

The Apple.Pkl.Cli packages automatically download and manage platform-specific Pkl binaries, eliminating the need to manually install Pkl on build machines or developer workstations. These packages integrate seamlessly with the Apple.Pkl.MSBuild package to provide a complete Pkl compilation solution for .NET projects.

Features

  • 🚀 Automatic Binary Management - Downloads the correct Pkl binary for your target platform
  • 📦 Platform-Specific Packages - Separate packages for each supported runtime identifier (RID)
  • 🔧 MSBuild Integration - Automatically sets the PklPath property for use with MSBuild tasks
  • 🌐 Cross-Platform Support - Supports Windows, Linux, macOS, and Alpine Linux
  • No Manual Installation - No need to manually install Pkl CLI tools
  • 🛡️ Version Consistency - Ensures consistent Pkl version across all environments

Available Packages

Package Runtime Identifier Platform Architecture
Apple.Pkl.Cli.win-x64 win-x64 Windows x64
Apple.Pkl.Cli.linux-x64 linux-x64 Linux x64
Apple.Pkl.Cli.linux-arm64 linux-arm64 Linux ARM64
Apple.Pkl.Cli.osx-x64 osx-x64 macOS Intel x64
Apple.Pkl.Cli.osx-arm64 osx-arm64 macOS Apple Silicon
Apple.Pkl.Cli.linux-musl-x64 linux-musl-x64 Alpine Linux x64

Installation

Add the main package reference and let MSBuild automatically select the correct platform package:

<PackageReference Include="Apple.Pkl.MSBuild" Version="0.29.1" />

How It Works

  1. Download Phase: During package restore, the appropriate Pkl binary is downloaded from the official Apple Pkl releases
  2. Extraction Phase: The binary is extracted and placed in the package's tools directory
  3. MSBuild Integration: The PklPath MSBuild property is automatically set to point to the correct binary
  4. Build Integration: MSBuild tasks can use the PklPath property to execute Pkl commands

MSBuild Properties

When a Apple.Pkl.Cli.* package is installed, it automatically sets the following MSBuild properties:

Property Description Example Value
PklPath Full path to the Pkl executable $(UserProfile)\.nuget\packages\apple.pkl.cli.win-x64\0.29.1\tools\pkl.exe
PklToolsPath Directory containing the Pkl binary $(UserProfile)\.nuget\packages\apple.pkl.cli.win-x64\0.29.1\tools\

Binary Sources and Versions

The packages download official Pkl binaries from the Apple Pkl GitHub releases. The mapping between package RIDs and binary files is:

Package RID Source Binary Final Name
win-x64 pkl-windows-amd64.exe pkl.exe
linux-x64 pkl-linux-amd64 pkl
linux-arm64 pkl-linux-aarch64 pkl
osx-x64 pkl-macos-amd64 pkl
osx-arm64 pkl-macos-aarch64 pkl
linux-musl-x64 pkl-alpine-linux-amd64 pkl
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

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
0.30.0 3,505 1/12/2026
0.21.0 538 9/19/2025
0.20.0 562 9/17/2025