Skip to content

anupama-vm/setup_dev_env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows Development Environment Setup

This repository contains a PowerShell script to automate the setup of a Windows development environment. The script installs common development tools, configures system settings, and sets up your workspace with a single execution.

Features

  • Installs essential development tools using Chocolatey:
    • Visual Studio Code
    • Git & GitHub Desktop
    • Node.js LTS & Yarn
    • Java JDK 21
    • IntelliJ IDEA Community Edition
    • OpenSSL
  • Configures Git global settings
  • Installs useful VS Code extensions
  • Enables Windows Subsystem for Linux (WSL)
  • Creates project directories
  • Sets up PowerShell profile with useful aliases and functions
  • Adds custom environment variables
  • Creates a system restore point before making changes

Requirements

  • Windows 10 or 11
  • Administrator privileges

Usage

  1. Right-click on the EnvironmentSetup.ps1 file and select "Run with PowerShell as Administrator"

    OR

  2. Open PowerShell as Administrator and run:

Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
cd "PATH_TO_SCRIPT_DIRECTORY"
.\EnvironmentSetup.ps1

Customization

The easiest way to customize the script is by editing the config.ps1 file:

  • Modify the Software array to add or remove software packages
  • Customize the VSCodeExtensions array to add/remove extensions
  • Change the project directories in the Directories array
  • Add or modify environment variables in the EnvironmentVariables array
  • Enable or disable Windows features in the WindowsFeatures array

You can also directly modify the EnvironmentSetup.ps1 script for more advanced customization:

  • Edit the PowerShell profile content to add your own aliases and functions
  • Add custom commands or configuration steps to the script

Logging

The script creates a log file named setup_log.txt in the same directory as the script. This file contains detailed information about each step of the setup process.

Notes

  • The script requires administrator privileges to run
  • Some changes may require a system restart to take effect
  • The script creates a system restore point before making changes for safety

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published