Skip to content

Commit b69beb5

Browse files
committedAug 23, 2020
Setup files and scripts
1 parent 114f8c3 commit b69beb5

File tree

4 files changed

+208
-0
lines changed

4 files changed

+208
-0
lines changed
 

‎README.md

+24
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,26 @@
11
# Win10Cfg
22
Config Windows 10 for general dev work
3+
4+
## Getting Started
5+
6+
1. [Download files as a zipfile](https://github.com/Layer8Err/Win10Cfg/archive/master.zip)
7+
2. Unzip files
8+
3. Run SetupAll.ps1 as Admin (twice)
9+
10+
## Items installed/changed
11+
12+
* Debloat Windows 10
13+
* Chocolatey Package Manager
14+
* WSL2
15+
* Google Chrome
16+
* Git
17+
* Hackfont
18+
* Windows Terminal
19+
* Oh-my-posh
20+
* VSCode
21+
* 7-Zip
22+
* DBeaver
23+
* Docker-Desktop
24+
* Acrobat Reader
25+
* Libre Office
26+
* GIMP

‎SetupAll.ps1

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# Setup Programs and Features for new Windows Install
2+
3+
Write-Host("Installing WSL2...")
4+
iex ((New-Object System.Net.WebClient).DownloadString('https://git.io/JfKrM'))
5+
Write-Host(" ...Do not continue until second reboot and WSL2 setup complete")
6+
7+
Write-Host("Installing Chocolatey...")
8+
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'))
9+
10+
Write-Host("Running Windows 10 Debloat...")
11+
iex ((New-Object System.Net.WebClient).DownloadString('https://git.io/debloat'))
12+
13+
Write-Host("Selecting custom themepack: Silent-Dark...")
14+
powershell "Silent-Dark.deskthemepack"
15+
16+
Write-Host("Installing Google Chrome...")
17+
choco install googlechrome -Y
18+
19+
Write-Host("Installing Git...")
20+
choco install git -Y
21+
Write-Host(" ...make sure to configure an SSH key for Git...")
22+
23+
Write-Host("Installing custom font: hackfont...")
24+
choco install hackfont -Y
25+
26+
Write-Host("Installing Windows Terminal...")
27+
choco install microsoft-windows-terminal -Y
28+
29+
Write-Host("Installing Oh-my-Posh...")
30+
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force
31+
Install-Module posh-git -Scope CurrentUser -Force
32+
Install-Module oh-my-posh -Scope CurrentUser -Force
33+
if (!(Test-Path -Path $PROFILE )) { New-Item -Type File -Path $PROFILE -Force }
34+
echo "Import-Module posh-git" > $PROFILE
35+
echo "Import-Module oh-my-posh" >> $PROFILE
36+
echo "Set-Theme Agnoster" >> $PROFILE
37+
38+
Write-Host("Installing VSCode...")
39+
choco install vscode -Y
40+
41+
Write-Host("Installing 7-Zip...")
42+
choco install 7zip.install -Y
43+
44+
Write-Host("Installing DBeaver...")
45+
choco install dbeaver -Y
46+
47+
Write-Host("Installing Docker-Desktop...")
48+
choco install docker-desktop -Y
49+
50+
Write-Host("Installing Acrobat Reader...")
51+
choco install adobereader -Y -params '"/UpdateMode:4"'
52+
53+
Write-Host("Installing Libre Office...")
54+
choco install libreoffice-still -Y
55+
56+
Write-Host("Installing GIMP...")
57+
choco install gimp -Y

‎SetupItems.md

+127
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
# Debloat
2+
3+
Remove unwanted junk from Windows 10
4+
5+
```posh
6+
iex ((New-Object System.Net.WebClient).DownloadString('https://git.io/debloat'))
7+
```
8+
9+
# Chocolatey
10+
11+
Package manager for Windows
12+
13+
```posh
14+
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'))
15+
```
16+
17+
# WSL2
18+
19+
Windows Subsystem for Linux (used by Docker-Desktop)
20+
21+
```posh
22+
iex ((New-Object System.Net.WebClient).DownloadString('https://git.io/JfKrM'))
23+
```
24+
25+
# Google Chrome
26+
27+
Modern Web Browser
28+
29+
```posh
30+
choco install googlechrome -Y
31+
```
32+
33+
# Git
34+
35+
Source Control
36+
37+
```posh
38+
choco install git -Y
39+
```
40+
41+
# Custom Fonts
42+
43+
Extended fonts used by various themes
44+
45+
```posh
46+
choco install hackfont -Y
47+
```
48+
49+
# Windows Terminal
50+
51+
Improved terminal experience for Windows 10
52+
53+
```posh
54+
choco install microsoft-windows-terminal -Y
55+
```
56+
57+
# Oh-my-Posh
58+
59+
PowerShell theme based on oh-my-zsh
60+
61+
```posh
62+
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force
63+
Install-Module posh-git -Scope CurrentUser -Force
64+
Install-Module oh-my-posh -Scope CurrentUser -Force
65+
66+
## Set $PROFILE
67+
if (!(Test-Path -Path $PROFILE )) { New-Item -Type File -Path $PROFILE -Force }
68+
echo "Import-Module posh-git" > $PROFILE
69+
echo "Import-Module oh-my-posh" >> $PROFILE
70+
echo "Set-Theme Agnoster" >> $PROFILE
71+
```
72+
73+
# VSCode
74+
75+
Lightweight code editor
76+
77+
```posh
78+
choco install vscode -Y
79+
```
80+
81+
# 7-Zip
82+
83+
File archive handler
84+
85+
```posh
86+
choco install 7zip.install -Y
87+
```
88+
89+
# DBeaver
90+
91+
Database management for multiple different databases
92+
93+
```posh
94+
choco install dbeaver -Y
95+
```
96+
97+
# Docker-Desktop
98+
99+
Docker Desktop for Windows, uses WSL2 for continers if available
100+
101+
```posh
102+
choco install docker-desktop -Y
103+
```
104+
105+
# Acrobat Reader
106+
107+
Industry standard PDF reader
108+
109+
```posh
110+
choco install adobereader -Y -params '"/UpdateMode:4"'
111+
```
112+
113+
# Libre Office
114+
115+
Open source office software
116+
117+
```posh
118+
choco install libreoffice-still -Y
119+
```
120+
121+
# GIMP
122+
123+
GNU Image Management Program
124+
125+
```posh
126+
choco install gimp -Y
127+
```

‎Silent-Dark.deskthemepack

956 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)
Please sign in to comment.