Skip to content

Instantly share code, notes, and snippets.

@joglr
Last active January 26, 2023 12:50
Show Gist options
  • Save joglr/091563c5c94b52d018e51751a7f2ab73 to your computer and use it in GitHub Desktop.
Save joglr/091563c5c94b52d018e51751a7f2ab73 to your computer and use it in GitHub Desktop.
Setup

Windows

From an elevated Powershell window, run

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://gist.githubusercontent.com/joglr/091563c5c94b52d018e51751a7f2ab73/raw/INSTALL.ps1'))

WSL

curl https://gist.githubusercontent.com/joglr/091563c5c94b52d018e51751a7f2ab73/raw/INSTALL.sh | bash

https://dtinth.github.io/comic-mono-font/

To enable auto-signin:

https://technet.microsoft.com/en-us/library/ee872306.aspx

# Chocolatey
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'))
choco feature enable -n=allowGlobalConfirmation
# Browsers
choco upgrade googlechrome firefox
# Development
choco upgrade nvm -y
choco upgrade vscode cascadiacode gh
# Git
choco upgrade git --params /WindowsTerminal /NoGuiHereIntegration /NoShellHereIntegration /NoGitLfs
# Utiliy
choco upgrade wiztree googledrive
# choco upgrade unifiedremote vlc
# Gaming
# choco upgrade steam geforce-game-ready-driver geforce-experience
refreshenv
nvm install latest
nvm use latest
git config --global user.email "[email protected]"
git config --global user.name "Jonas Røssum"
npx --quiet cowsay All done!
# nvm
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
nvm ls-remote
Write-Output "Hi!"
choco uninstall all
Write-Output "Done"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment