Edit

Install Microsoft DSC v3

There are multiple ways to install DSC v3.

  • On Windows, you can install using WinGet or manually install the .zip file
  • On Linux you can install using the DEB or RPM package or manually install the .tar.gz file
  • On macOS you must manually install the .tar.gz

Select the tab for the desired platform to see the detailed installation instructions.

Install DSC using WinGet

The following commands can be used to install DSC using the published winget packages.

Search for the latest version of DSC:

winget search DesiredStateConfiguration --source msstore
Name                              Id           Version Source
---------------------------------------------------------------
DesiredStateConfiguration         9NVTPZWRC6KQ Unknown msstore
DesiredStateConfiguration-Preview 9PCX3HX4HZ0Z Unknown msstore

Install DSC using the id parameter:

# Install latest stable
winget install --id 9NVTPZWRC6KQ --source msstore
# Install latest preview
winget install --id 9PCX3HX4HZ0Z --source msstore

Install DSC from the .zip file

  1. Download the latest release from the DSC repository for your processor type:

  2. Unzip the package to a folder:

    Expand-Archive -Path .\DSC-3.3.0-rc.2-x86_64-pc-windows-msvc.zip -DestinationPath C:\DSC
    
  3. Add the DSC folder to your system PATH environment variable.