Skip to content

Windows development tools setup

Configuring a Windows environment for software development often involves utilizing package managers to automate the installation and maintenance of tools and SDKs.^[600-developer-tools-windows-the-package-manager-for-windows.md]

Package Managers

To simplify the management of development utilities, specific package managers are recommended for different domains of the development stack:

  • Chocolatey: A general-purpose package manager for Windows used to install system tools and applications (e.g., Notepad++, NVM, SDKMAN).^[600-developer-tools-windows-the-package-manager-for-windows.md]
  • SDKMAN: A tool for managing parallel versions of multiple Software Development Kits, primarily used for Java ecosystems (e.g., Java, Gradle, Maven).^[600-developer-tools-windows-the-package-manager-for-windows.md]
  • NVM (Node Version Manager): Used for managing multiple versions of Node.js.^[600-developer-tools-windows-the-package-manager-for-windows.md]

Chocolatey Installation

Chocolatey is installed via PowerShell using administrative privileges.^[600-developer-tools-windows-the-package-manager-for-windows.md]

Installation Command

Execute the following script in an elevated PowerShell window:

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
^[600-developer-tools-windows-the-package-manager-for-windows.md]

Basic Usage

Once installed, users can search for packages using the choco command^[600-developer-tools-windows-the-package-manager-for-windows.md]:

choco Search nodejs

SDKMAN Setup

To prepare the environment for SDKMAN, which manages parallel versions of software development kits, specific command-line utilities are required.^[600-developer-tools-windows-the-package-manager-for-windows.md]

Prerequisites

Before installing SDKMAN, it is necessary to install unzip and zip utilities via Chocolatey^[600-developer-tools-windows-the-package-manager-for-windows.md]:

choco install unzip
choco install zip

Installation

After prerequisites are met, SDKMAN is installed using a shell command^[600-developer-tools-windows-the-package-manager-for-windows.md]:

curl -s "https://get.sdkman.io" | bash
  • [[Package Manager]]
  • [[Node.js]]
  • Java

Sources

  • 600-developer-tools-windows-the-package-manager-for-windows.md