Skip to content

Instantly share code, notes, and snippets.

@zfdesign
Last active March 23, 2019 10:32
Show Gist options
  • Select an option

  • Save zfdesign/4bea36becafe7e2dcba1ffcc6da0f397 to your computer and use it in GitHub Desktop.

Select an option

Save zfdesign/4bea36becafe7e2dcba1ffcc6da0f397 to your computer and use it in GitHub Desktop.

Setting up Windows for development

  1. GET/SET Windows PowerShell Execution policy Get-ExecutionPolicy. If it returns Restricted, then run Set-ExecutionPolicy AllSigned or Set-ExecutionPolicy Bypass -Scope Process.

  2. Install, PowerShell execute:

Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

More on PwerShell Execution policy - https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-6

Disable Chocolatey confirmtion

https://stackoverflow.com/a/30428182

Install or update without confirmation prompts

# `-y` will skip the prompts for a given command
# Disable for all future runs 
choco feature enable -n=allowGlobalConfirmation

To enable installation confirmation

choco feature disable -n=allowGlobalConfirmation
choco install poshgit
# or shorhand `cinst poshgit` 

Other pckages

# Git
cinst git poshgit sourcetree

# VS Code pack
cinst vscode vscode-eslint vscode-editorconfig vscode-icons vscode-markdownlint
# vscode-gitlens vscode-gitignore vscode-gitattributes

# JavaScript, Node
cinst nodejs-lts yarn gulp-cli
# nodejs 

# Browsers
cinst googlechrome firefox opera 
# ie11 brave safari

# AWS
cinst awscli 
# awstools.powershell cloudberryexplorer.amazons3
# cloudberryexplorer.s3

# Text Editing
cinst notepadplusplus 

# Other 
cinst nexus-repository

zsh installation (optional)

https://evdokimovm.github.io/windows/zsh/shell/syntax/highlighting/ohmyzsh/hyper/terminal/2017/02/24/how-to-install-zsh-and-oh-my-zsh-on-windows-10.html

Random stuff

Environment Vars (like PATH) have changed. Close/reopen your shell to see the changes (or in powershell/cmd.exe just type refreshenv)

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