Install-Dotnet
1.0.0
it will update it only if the requested version differs from the one already installed.
Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
- The SDK needs to be installed without user interaction and without admin rights.
- The SDK installatio
it will update it only if the requested version differs from the one already installed.
Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
- The SDK needs to be installed without user interaction and without admin rights.
- The SDK installation doesn't need to persist across multiple CI runs.
To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer.
Installation Options
Owners
Copyright
MIT
Package Details
Author(s)
- Alain Herve
Tags
Functions
DotnetInstallException DownloadException MeasureAction LoadAssembly GetMachineArchitecture GetCLIArchitecture GetAbsolutePath PrependToPath InvokeWithRetry GetHttpResponse GetRemoteFileSize ValidateRemoteLocalFileSizes DownloadFile GetUserSharePath TestUserWriteAccess PrepareInstallDirectory IsDotnetPackageInstalled GetPathPrefixWithVersion GetDirectoriesToUnpack ExtractDotnetPackage SafeRemoveFile ParseJsonFile GetFromLatestVersionFile GetProductVersion GetProductVersionUrl GetAkaMSDownloadLink GetAkaMsLinkAndVersion GetFeedsToUse ValidateFeedCredential NormalizeParameters PrintDryRunOutput Run
Dependencies
This script has no dependencies.
FileList
- Install-Dotnet.nuspec
- Install-Dotnet.ps1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 1.0.0 (current version) | 4 | 3/20/2026 |