Skip to content

Instantly share code, notes, and snippets.

@yzorg
Last active September 16, 2021 07:17
Show Gist options
  • Select an option

  • Save yzorg/ba93b38ecf88f8d016da33112e6806db to your computer and use it in GitHub Desktop.

Select an option

Save yzorg/ba93b38ecf88f8d016da33112e6806db to your computer and use it in GitHub Desktop.
# Win-R, iexplore http://boxstarter.org/package/url?https://gist.githubusercontent.com/yzorg/...
Enable-RemoteDesktop
# Use **Developer** in Win10 settings to enable Explorer: file extensions, show full path, show hidden & system files, etc.
# manual, in powershell admin: `Set-ExecutionPolicy Unrestricted -Force`
# https://scotch.io/bar-talk/trying-the-new-wsl-2-its-fast-windows-subsystem-for-linux
Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform
# manual: install Pengwin (formerly WLinux) or Ubuntu
# wsl -l
# wsl --set-default-version 2
# wsl --set-version WLinux 2
# wsl --set-version Ubuntu 2
# wsl --list --verbose # show what version of WSL is running for each distro
# browser, cloud, and tray apps
# No longer installed via chocolatey, b/c it updates too often choco gets confused about what versio is installed.
#cinst GoogleChrome
cinst greenshot
# dev
#cinst git # installed by Visual Studio (via Web Platform Installer)
cinst gitextensions --ignore-dependencies
# No longer installed via chocolatey, b/c it updates too often choco gets confused about what versio is installed.
#cinst visualstudiocode
cinst yarn # yarn will also install nodejs and npm, which are dependencies
# util
cinst procexp
cinst windirstat
# Windows Features
cinst IIS-WebServerRole -source windowsfeatures
#cinst Microsoft-Hyper-V-All -source windowsFeatures
#cinst gitkraken - download failed via choco, but works via Chrome
# manual: choco install of GitKraken failed, but works via Chrome:
# https://release.gitkraken.com/win64/GitKrakenSetup.exe
# manual: pin to Taskbar: Chrome, VS Code
# manual: extract procexp 64-bit exe and pin to taskbar
# manual: sign-in to Chrome
# manual: password manager
# optional: cinst icloud
# optional: cinst mousewithoutborders
# optional: cinst visualstudio2017enterprise
# optional: Ubuntu in MS Store (Win Subsystem for Linux, WSL)
# optional: Office365, disable upload tray app
# manual: Taskbar Notification Area - always show: Greenshot, ProcExp64, Task Manager, MouseWithoutBorders
@yzorg

yzorg commented Apr 30, 2017

Copy link
Copy Markdown
Author

manual step: Taskbar Notification Area - enable: Greenshot, ProcExp64, Task Manager, MouseWithoutBorders

@yzorg

yzorg commented Jun 11, 2017

Copy link
Copy Markdown
Author

@yzorg

yzorg commented Sep 28, 2018

Copy link
Copy Markdown
Author

cinst dotnetcore-sdk
edit visualstudiocode to vscode

@yzorg

yzorg commented Aug 28, 2019

Copy link
Copy Markdown
Author

Set-VMProcessor -VMName dev_tools_vm_01 -ExposeVirtualizationExtensions $true

This needs to run before converting WSL distros to WSL2 when running in a Hyper-V VM.

@yzorg

yzorg commented Aug 28, 2019

Copy link
Copy Markdown
Author

Set-VMProcessor -VMName dev_tools_vm_01 -ExposeVirtualizationExtensions $true

This needs to run before converting WSL distros to WSL2 when running in a Hyper-V VM.

VMs settings for a developer tools VM:

RAM 6GB
Cores 4
Drives C: 128GB, D: 50GB

@yzorg

yzorg commented Oct 28, 2019

Copy link
Copy Markdown
Author
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
choco install azure-data-studio
choco install docker-cli
choco install visualstudio2019enterprise # manual: enable web (C#) and Azure workloads, adds 8GB
choco install sql-server-management-studio # now under 600MB

@yzorg

yzorg commented Jun 17, 2020

Copy link
Copy Markdown
Author

Using package managers in Win10 in the year 2020 is still a PITA. And they are "Sherlocking" Choco & Scoop with WinGet. But first features of WinGet are "disable telemetry" and "feature flags" (to hide features from users before their "official release"). Sheesh.

Until all that gets worked out, just keep -swimming-... er UPDATING. Just keep updating, updating, up.

dotnet tool update --global powershell # 7.0.2
dotnet tool update --global dotnet-ef # 3.1.5

@yzorg

yzorg commented Mar 17, 2021

Copy link
Copy Markdown
Author
choco install azure-cli
choco install microsoftazurestorageexplorer
choco install azcopy10

@yzorg

yzorg commented Sep 16, 2021

Copy link
Copy Markdown
Author
# python 3.9 installed by Visual Studio
# from admin command prompt
py -3.9 -m pip install pipenv pandas sqlalchemy pyodbc
  • optional, pipenv says it will install correct Python when pyenv is present, not sure about Windows support
  • winget package pending: microsoft/winget-pkgs#17988
choco install pyenv-win

@yzorg

yzorg commented Sep 16, 2021

Copy link
Copy Markdown
Author

WinGet 1.0 just released, check list of tools for WinGet package support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment