{"id":29107736,"url":"https://github.com/codetocloudorg/windows_dev_setup","last_synced_at":"2026-02-05T05:31:47.343Z","repository":{"id":287422983,"uuid":"964681215","full_name":"codetocloudorg/windows_dev_setup","owner":"codetocloudorg","description":"Repo AI Development Setup","archived":false,"fork":false,"pushed_at":"2025-04-11T16:02:01.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-26T14:50:14.942Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codetocloudorg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-11T15:57:46.000Z","updated_at":"2025-04-11T16:02:05.000Z","dependencies_parsed_at":"2025-04-11T17:22:10.674Z","dependency_job_id":"f0083f8e-3aad-4fa4-bbaf-85964a2533f8","html_url":"https://github.com/codetocloudorg/windows_dev_setup","commit_stats":null,"previous_names":["codetocloudinc/windows_dev_setup","codetocloudorg/windows_dev_setup"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codetocloudorg/windows_dev_setup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codetocloudorg%2Fwindows_dev_setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codetocloudorg%2Fwindows_dev_setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codetocloudorg%2Fwindows_dev_setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codetocloudorg%2Fwindows_dev_setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codetocloudorg","download_url":"https://codeload.github.com/codetocloudorg/windows_dev_setup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codetocloudorg%2Fwindows_dev_setup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29113597,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T05:31:32.482Z","status":"ssl_error","status_checked_at":"2026-02-05T05:31:29.075Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-29T05:39:38.592Z","updated_at":"2026-02-05T05:31:47.320Z","avatar_url":"https://github.com/codetocloudorg.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# 💻 Windows Laptop Setup for Development and AI Tasks (Leveraging WSL)\n\n---\n\n## 🛠️ 1. Setting Up WSL\n- **Enable WSL2 on Windows**:  \n  Open PowerShell as Administrator and run:  \n  ```powershell\n  wsl --install\n  ```\n- **Install your preferred Linux distribution** (e.g., Ubuntu):  \n  ```powershell\n  wsl --install -d Ubuntu\n  ```\n- **Update the installed Linux distribution** (inside WSL):  \n  ```bash\n  sudo apt update \u0026\u0026 sudo apt upgrade -y\n  ```\n\n---\n\n## 🔧 2. Development Tools via WSL\n\n### 🏗️ a. Terraform\n- **Install Terraform CLI**:  \n  ```bash\n  sudo apt install -y wget unzip\n  wget https://releases.hashicorp.com/terraform/$(curl -s https://releases.hashicorp.com/terraform/ | grep -oP '\\d+\\.\\d+\\.\\d+' | head -1)/terraform_$(curl -s https://releases.hashicorp.com/terraform/ | grep -oP '\\d+\\.\\d+\\.\\d+' | head -1)_linux_amd64.zip\n  unzip terraform_*.zip\n  sudo mv terraform /usr/local/bin/\n  ```\n\n### 🧱 b. Bicep\n- **Install Bicep using Azure CLI**:  \n  First, install the Azure CLI:  \n  ```bash\n  curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash\n  az bicep install\n  ```\n\n### 🌱 c. OpenTofu\n- **Install OpenTofu (an open-source alternative to Terraform)**:  \n  ```bash\n  curl -sSLf https://apt.opentofu.org/gpg | sudo gpg --dearmor -o /usr/share/keyrings/opentofu-archive-keyring.gpg\n  echo \"deb [signed-by=/usr/share/keyrings/opentofu-archive-keyring.gpg] https://apt.opentofu.org stable main\" | sudo tee /etc/apt/sources.list.d/opentofu.list \u003e /dev/null\n  sudo apt update \u0026\u0026 sudo apt install -y opentofu\n  ```\n\n### 🎨 d. Oh My Posh\n- **Install Oh My Posh CLI in WSL**:  \n  ```bash\n  sudo apt install -y wget\n  wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-linux-amd64\n  sudo mv posh-linux-amd64 /usr/local/bin/oh-my-posh\n  sudo chmod +x /usr/local/bin/oh-my-posh\n  ```\n- **Install a Nerd Font for glyph support**:  \n  ```bash\n  mkdir -p ~/.local/share/fonts\n  cd ~/.local/share/fonts\n  wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.3.3/FiraCode.zip\n  unzip FiraCode.zip\n  fc-cache -fv\n  ```\n- **Add Oh My Posh configuration to your shell**:  \n  ```bash\n  echo 'eval \"$(oh-my-posh init bash)\"' \u003e\u003e ~/.bashrc\n  ```\n\n### 🛠️ e. Linux Utilities for Development\n- **Install essential utilities and tools**:  \n  ```bash\n  sudo apt install -y build-essential git curl wget unzip\n  ```\n\n---\n\n## 🤖 3. AI Tools for Azure Development via WSL\n\n### 🐍 a. Python Environment\n- **Install Python and pip**:  \n  ```bash\n  sudo apt install -y python3 python3-pip\n  ```\n- **Install Azure SDKs for Python**:  \n  ```bash\n  pip3 install azure-storage-blob azure-mgmt-resource azure-ai-formrecognizer\n  ```\n\n### ☁️ b. Azure CLI for AI Management\n- **Already installed earlier**. Use it to manage Azure resources:  \n  ```bash\n  az login\n  ```\n\n---\n\n## 🧹 4. Removing Ads and Bloatware (Windows Side)\n\n### 🛠️ a. Manual Steps\n- Open **Settings \u003e Apps** to uninstall unnecessary applications.\n- Disable ads:  \n  - **Settings \u003e Personalization \u003e Start**: Turn off “Show suggestions.”  \n  - **Settings \u003e Privacy \u003e General**: Disable ad-related options.\n\n### 🧹 b. WSL PowerShell Command for Bloat Removal\n- **Run this command from WSL**:  \n  ```bash\n  powershell.exe \"Get-AppxPackage -AllUsers | Remove-AppxPackage\"\n  ```\n\n### ⚙️ c. Automated Bloat Removal\n- **Use the [Win11Debloat](https://github.com/Raphire/Win11Debloat) script**:  \n  Inside WSL, download and execute it:  \n  ```bash\n  wget https://raw.githubusercontent.com/Raphire/Win11Debloat/main/Win11Debloat.ps1\n  powershell.exe -File ./Win11Debloat.ps1\n  ```\n\n---\n\n## 🤖 5. Automation via Script\n- **Automate the setup in WSL with this script**:  \n  ```bash\n  # Update and install tools\n  sudo apt update \u0026\u0026 sudo apt upgrade -y\n  sudo apt install -y wget unzip git python3 python3-pip curl build-essential\n\n  # Install Terraform\n  wget https://releases.hashicorp.com/terraform/$(curl -s https://releases.hashicorp.com/terraform/ | grep -oP '\\d+\\.\\d+\\.\\d+' | head -1)/terraform_$(curl -s https://releases.hashicorp.com/terraform/ | grep -oP '\\d+\\.\\d+\\.\\d+' | head -1)_linux_amd64.zip\n  unzip terraform_*.zip\n  sudo mv terraform /usr/local/bin/\n\n  # Install OpenTofu\n  curl -sSLf https://apt.opentofu.org/gpg | sudo gpg --dearmor -o /usr/share/keyrings/opentofu-archive-keyring.gpg\n  echo \"deb [signed-by=/usr/share/keyrings/opentofu-archive-keyring.gpg] https://apt.opentofu.org stable main\" | sudo tee /etc/apt/sources.list.d/opentofu.list \u003e /dev/null\n  sudo apt update \u0026\u0026 sudo apt install -y opentofu\n\n  # Install Azure CLI and Bicep\n  curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash\n  az bicep install\n\n  # Install Oh My Posh\n  wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-linux-amd64\n  sudo mv posh-linux-amd64 /usr/local/bin/oh-my-posh\n  sudo chmod +x /usr/local/bin/oh-my-posh\n  echo 'eval \"$(oh-my-posh init bash)\"' \u003e\u003e ~/.bashrc\n\n  # Install Python Azure SDKs\n  pip3 install azure-storage-blob azure-mgmt-resource azure-ai-formrecognizer\n  ```\n---\n\nThis version uses icons and formatting to make the document easier to read and visually engaging. Let me know if you need further adjustments! 🚀","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodetocloudorg%2Fwindows_dev_setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodetocloudorg%2Fwindows_dev_setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodetocloudorg%2Fwindows_dev_setup/lists"}