Setup Windows for development
Recently I wiped my Windows computer because of my cluttered config, and I’m here to tell you how to set up an elegant environment.
configure shell
At first, you need a terminal application, I choose Windows Terminal.
Windows Terminal becomes the default terminal application in Windows Inside Preview these days. Compared to other terminal applications based on web technology (e.g. Electron), its interaction is natural and intuitive. If you use Windows, it is the best and the only choice.
Scoop
Scoop is a package manager for Windows. Compared to other competitors, Scoop is strict and all app installations are regulated, as a result, scoop doesn’t have as many packages as the other competitors, but it’s more than enough.
It is very easy to install, open PowerShell, and run:
1 |
|
Oh My Posh
The default PowerShell is powerful enough to do anything I want, but it’s not beautiful enough.
Oh My Posh is a prompt theme engine for PowerShell, to install it, just run:
1 |
|
To choose a theme you like, run this command to show all themes:
1 |
|
I choose 1_shell
theme, so I run:
1 |
|
Install Apps
PnPm
PnPm is a Fast, disk space efficient package manager for Node.js, AND the universal Node.js environment manager.
you can install PnPm even if you don’t have Node.js installed, using the following script:
1 |
|
Node.js
We can use PnPm to install Node.js:
1 |
|
Git
The best source code management software in the world.
1 |
|
gsudo
sudo
command for Windows
1 |
|
OpenSSL
TLS/SSL toolkit
1 |
|
MySQL 5.7
The world’s most popular open-source database.
1 |
|
Others
For applications with a web version, I prefer to use the web version, e.g. Telegram / Twitter.
For the other Apps, I prefer to go to the official website to install these apps.
- Chrome: Browsers for surfing the Internet.
- Firefox: Browsers for debugging websites.
- VSCode: The only IDE I need for Web Dev.
- Postman: API test/document Tool.
- Github Desktop: Git client with GUI.
Code Fonts
I mainly use Jetbrain-Mono and FiraCode:
1 |
|