Mark Ku's Blog
首頁 關於我
Quick set up developer environment using chocolatey and powershell
PowerShell
Quick set up developer environment using chocolatey and powershell
Mark Ku
Mark Ku
January 29, 2023
1 min

Propose

In order for new developers to quickly set up the computer environment, please help me write a script referring to the following information

Software List

  • vs code
  • git
  • git tortoise
  • visual studio 2019
  • visual studio 2022
  • SQL SSMS Tools
  • 7zip
  • docker desktop
  • git-fork
  • teams
  • Another redis
  • chrome
  • notepad ++

script ( must run as administrator )

# 1. install choco ( manual )
Set-ExecutionPolicy AllSigned
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

# 2. set up policy 
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned -Force
# 3. set right click 
reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
# 4. install software 
choco install vscode -y
choco install git -y
choco install tortoisegit -y
choco install sql-server-management-studio -y
choco install 7zip -y
choco install docker-desktop -y
choco install git-fork -y
choco install microsoft-teams -y
choco install another-redis-desktop-manager -y
choco install chrome-remote-desktop-chrome  -y
choco install notepadplusplus -y
choco install sqlsearch -y
choco install visualstudio2019community -y
choco install visualstudio2022community -y

Reference

Official Doc


Tags

Mark Ku

Mark Ku

Software Developer

擁有豐富網站開發經驗,直播系統、POS系統、電子商務、平台網站、SEO,專業的網站開發鐵三工程師。

Expertise

前端(React)
後端(C#)
網路管理

Social Media

facebook github website

Related Posts

Powershell automatically syncs docker redis data
Powershell automatically syncs docker redis data
November 11, 2022
1 min

Quick Links

關於我

Social Media