Skip to content

Instantly share code, notes, and snippets.

@nissan
Last active December 19, 2022 23:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nissan/3a9cc66db486b3b285ca3e18ec0d97c4 to your computer and use it in GitHub Desktop.
Save nissan/3a9cc66db486b3b285ca3e18ec0d97c4 to your computer and use it in GitHub Desktop.
Setup a new developer laptop updated 2022
# Author: Nissan Dookeran
# Email: nissan.dookeran@gmail.com
# Date Last Updated: 12-Dec-2022.
wsl install Ubuntu-20.04
## General tooling
winget install SlackTechnologies.Slack
winget install Google.Chrome
winget install Mozilla.Firefox
winget install Zoom.Zoom
winget install Adobe.Acrobat.Reader.64-bit
##Git configuration
winget install Git.Git
winget install Microsoft.GitCredentialManagerCore
$Env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine")
git config --global user.name "My Name"
## Configure Visual Studio Code
winget install Microsoft.VisualStudioCode
$Env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine")
winget install Microsoft.PowerShell
### Configure VS Code extension for powershell scripting
code --install-extension ms-vscode.powershell
### Configure powershell prompt enhancement
winget install JanDeDobbeleer.OhMyPosh -s winget
Add-Content $PROFILE 'oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH/jandedobbeleer.omp.json" | Invoke-Expression'
$Env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine")
#### Use `oh-my-posh font install` in Administrator prompt to install custom font with extra emoticons
### Configure node version management
winget install jasongin.nvs
$Env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine")
nvs add lts
nvs add latest
nvs use latest
##
winget install Anaconda.Anaconda3
code --install-extension ms-python.python
code --install-extension ms-python.isort
code --install-extension ms-python.vscode-pylance
code --install-extension ms-toolsai.jupyter
code --install-extension ms-toolsai.jupyter-keymap
code --install-extension ms-toolsai.jupyter-renderers
code --install-extension ms-toolsai.vscode-jupyter-cell-tags
code --install-extension ms-toolsai.vscode-jupyter-slideshow
##
winget install Microsoft.DotNet.SDK.7
### Configure VSCode extension
code --install-extension ms-dotnettools.csharp
### install .NET Interactive notebooks for jupyter
dotnet dev-certs https --trust
dotnet tool install --global dotnet-ef
dotnet tool install -g Microsoft.dotnet-interactive
dotnet interactive jupyter install
jupyter kernelspec list
code --install-extension ms-dotnettools.dotnet-interactive-vscode
## Data tools
winget install Microsoft.AzureDataStudio
winget install Microsoft.SQLServerManagementStudio
winget install Microsoft.SQLServer.2019.Express
## Containers
winget install Docker.DockerDesktop
code --install-extension ms-vscode-remote.vscode-remote-extensionpack
code --install-extension ms-vscode-remote.remote-containers
code --install-extension ms-vscode-remote.remote-ssh
code --install-extension ms-vscode-remote.remote-ssh-edit
code --install-extension ms-vscode-remote.remote-wsl
code --install-extension ms-vscode.remote-explorer
code --install-extension ms-azuretools.vscode-docker
### SQL Server as docker container
docker pull mcr.microsoft.com/mssql/server:2022-latest
docker run -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=<YourStrong!Passw0rd>" -p 1433:1433 -v c:\sqldata\data:/var/opt/mssql/data -v c:\data\log:/var/opt/mssql/log -v c:\data\secrets:/var/opt/mssql/secrets -d mcr.microsoft.com/mssql/server:2022-latest
### PostgreSQL as docker container
docker pull postgres
docker run -d --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -e PGDATA=/var/lib/postgresql/data/pgdata -v c:\pgdata\:/var/lib/postgresql/data postgres
winget install PostgreSQL.pgAdmin
### Visual Studio Community 2022
winget install Microsoft.VisualStudio.2022.Community
### This is a paid tool
winget install JetBrains.dotUltimate
## VSCode extension for Vue syntax highlighting
code --install-extension Vue.volar
## Handle json files better
code --install-extension ZainChen.json
code --install-extension ohsen1.prettify-json
## Diagramming
code --install-extension hediet.vscode-drawio
## CSV viewer
code --install-extension GrapeCity.gc-excelviewer
## Nuget package management CLI
winget install Microsoft.NuGet
## Azure authentication provider
iex "& { $(irm https://aka.ms/install-artifacts-credprovider.ps1) } -AddNetfx"
## Android Studio (prep for Flutter development)
winget install Google.AndroidStudio
code --install-extension Dart-Code.dart-code
code --install-extension Dart-Code.flutter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment