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
<PackageReference Include="Apple.Pkl.Cli.linux-x64" Version="0.30.0" />
<PackageVersion Include="Apple.Pkl.Cli.linux-x64" Version="0.30.0" />
<PackageReference Include="Apple.Pkl.Cli.linux-x64" />
paket add Apple.Pkl.Cli.linux-x64 --version 0.30.0
#r "nuget: Apple.Pkl.Cli.linux-x64, 0.30.0"
#:package Apple.Pkl.Cli.linux-x64@0.30.0
#addin nuget:?package=Apple.Pkl.Cli.linux-x64&version=0.30.0
#tool nuget:?package=Apple.Pkl.Cli.linux-x64&version=0.30.0
Apple.Pkl.Cli
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
PklPathproperty 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
- Download Phase: During package restore, the appropriate Pkl binary is downloaded from the official Apple Pkl releases
- Extraction Phase: The binary is extracted and placed in the package's tools directory
- MSBuild Integration: The
PklPathMSBuild property is automatically set to point to the correct binary - Build Integration: MSBuild tasks can use the
PklPathproperty 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 |
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.