Bootstrap has been designed to automate the configuration of your development environment.
- Administrative privileges to your computer.
- PowerShell
- Credentials to a git-based source code repository system
- Internet access
- Download and unzip bootstrap-windows.zip
- Use Windows File Explorer to unzip bootstrap-windows.zip
- cd to/extracted/files
- Run PowerShell as Administrator
- Change directory to the location bootstrap was downloaded and unzipped.
- Run install.cmd script.
.\install.cmd
- A new shell must be started to refresh your path and environment.
- Run PowerShell as Administrator
- Change directory to the location bootstrap was downloaded and unzipped.
- Validate your GitHub credentials with your Browser.
- Run clone.cmd script.
.\clone.cmd
- Run a Power Shell as an Administrator.
- Change directory to the location bootstrap was downloaded and unzipped.
- Run uninstall.cmd shell script.
.\uninstall.cmd
With great power comes great responsibility you have been notified!
The installation process downloads and installs development tools using Chocolatey. The command line tool choco is installed and used. install.json is tailored to meet a your specific needs. The json snippet below shows Ruby will be installed.
{
"ruby": {
"use": true,
"name: "ruby.install"
}
}
install.ps1 installs Ruby when use is true. Ruby is not installed when use is false. This pattern is repeated throughout: install.json
A command script that runs install.ps1 with the install option.
@echo off
powershell powershell.exe -executionpolicy bypass -file .\install.ps1 install
A command script that runs install.ps1 with the uninstall option.
@echo off
PowerShell powershell.exe -ExecutionPolicy Bypass -File .\install.ps1 uninstall
A PowerShell script that installs or uninstalls programs defined in install.json.
A JSON file that identifies all development tools installed or uninstalled.
@echo off
PowerShell powershell.exe -ExecutionPolicy Bypass -File .\clone.ps1 install
A PowerShell script that initialized your $HOME/.gitconfig file, and clones repositories defined in clone.json.
At minimum, $HOME/.gitconfig personalization is needed. I'm guessing that you will not want to clone my repositories either.
{
"gitconfig": {
"use": true,
"email": "[email protected]",
"global": true,
"user": "Traap"
},
"repositories": {
"use": true,
"repos": [
{
"url": "https://github.com/Traap/amber.git",
"use": true
},
{
"url": "https://github.com/Traap/check-latex.git",
"use": true
},
{
"url": "https://github.com/Traap/dotfiles.git",
"use": true
},
{
"url": "https://github.com/Traap/nvim.git",
"use": true
}
]
}
}
You are encouraged to review the visualcode section. The addons are listed alphabetically. These addons are popular for Azure, CSharp, Docker, Git, Json, PowerShell, Ruby, and XML development and testing.