Skip to content

Instantly share code, notes, and snippets.

@yying
Last active December 20, 2018 14:26
Show Gist options
  • Save yying/6bc280ed7a986a315f1d to your computer and use it in GitHub Desktop.
Save yying/6bc280ed7a986a315f1d to your computer and use it in GitHub Desktop.
Windows VM installation batchfile
@ECHO OFF
REM This install script sets up Chocolatey and installs a core set of the tools I use.
REM
REM This should be run as ADMINISTRATOR.
REM Grab and install Chocolatey
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
REM Install our selection of Chocolatey packages
cinst vim
cinst ctags
cinst wget
cinst astyle
cinst nasm
cinst hxd
cinst 7zip.install
cinst notepadplusplus
cinst windbg
cinst sysinternals
cinst putty.portable
cinst wireshark
cinst cmder.portable
cinst googlechrome-allusers
cinst python2
cinst pywin32
cinst pip
cinst winmerge
cinst sqlite.shell
cinst curl
cinst ffmpeg
cinst hashcheck
REM Set PATH to include mysygit directory (for git)
set PATH=%PATH%;C:\tools\cmder\vendor\msysgit\bin
REM Setting up dotfiles
pushd %USERPROFILE%
mkdir Documents\repos
cd Documents\repos
git clone --recursive https://github.com/yying/dotfiles
cd dotfiles
setup.bat
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment