markosamuli / windows-machine

Windows 10 development workstation setup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows Machine setup

This is a collection of Windows PowerShell Desired State Configuration scripts I'm using on my Windows development workstation.

Windows 10

Make sure you're running Windows 10 version 1809 or newer. These have not been tested on other systems.

Configure WinRM

Start WinRM service:

winrm quickconfig

Install dependencies

Set PSGallery as a trusted source for modules:

Set-PSRepository -Name PSGallery -InstallationPolicy Trusted

Install NuGet provider:

Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force

Install PowerShellGet and PackageManagement modules:

Install-Module –Name PowerShellGet -Force -MinimumVersion 2.0.3
Install-Module –Name PackageManagement -Force -MinimumVersion 1.2.4

Install cChoco module:

Install-Module -Name cChoco -MinimumVersion 2.4.0.0

Base setup

Start PowerShell with Run as administrator option and run the following command:

.\Base.ps1

Configures following PowerShell package management sources:

Install or upgrade the following software:

Workstation setup

Start PowerShell with Run as administrator option and run the following command:

.\Workstation.ps1

Install or upgrade the following software:

Development machine

Start PowerShell with Run as administrator option and run the following command:

.\Development.ps1

Installs following PowerShell modules:

Enable following features:

Install or upgrade the following software:

Go Programming language

Start PowerShell with Run as administrator option and run the following command:

.\Golang.ps1

Install or upgrade the following software:

Cloud tools

Start PowerShell with Run as administrator option and run the following command:

.\Cloud.ps1

Install or upgrade the following software:

Python development

Start PowerShell with Run as administrator option and run the following command:

.\Python.ps1

Install or upgrade the following software:

PHP development

Start PowerShell with Run as administrator option and run the following command:

.\PHP.ps1

Install or upgrade the following software:

Node.js development

Start PowerShell with Run as administrator option and run the following command:

.\Node.ps1

Install or upgrade the following software:

Ruby development

Start PowerShell with Run as administrator option and run the following command:

.\Ruby.ps1

Install or upgrade the following software:

Elixir development

Start PowerShell with Run as administrator option and run the following command:

.\Elixir.ps1

Install or upgrade the following software:

Docker for Windows setup

Docker for Windows requires Hyper-V so you need a Windows 10 Pro license.

Start PowerShell with Run as administrator option and run the following command:

.\Docker.ps1

Kubernetes tools setup

Start PowerShell with Run as administrator option and run the following command:

.\Kubernetes.ps1
  • Kubernetes command-line tool, kubectl 1.13.3
  • Kubernetes package manager, Helm 2.13.1

PowerShell 5.1 Reference

Troubleshooting

See Troubleshooting document for common issues during configuration.

License

Authors

About

Windows 10 development workstation setup

License:MIT License


Languages

Language:PowerShell 100.0%