New Machine Setup
There are a few things I have to have when setting up a new machine for development. This is a non-exhaustive list.
New Windows Machine setup
I install the following:
- Firefox
- Git
- Windows Terminal
- JetBrainsMono Nerd Font
- Starship
- Visual Studio Code
- Obsidian
- Docker Desktop
- Lightshot
- Rust
Installing and Setting up Windows Terminal
Open up the Microsoft Store application and download Windows Terminal.
Once it's installed open the start menu, find Windows Terminal, right click and select 'Pin to Taskbar'.
After starting Windows Terminal, click on the down arrow button on the top bar and select 'Settings'. Then navigate to Defaults -> Appearance from the left navigation bar under 'Profiles'.
Change the Font face to 'JetBrains Mono' (note that you must download and install the font before hand).
Next, adjust the transparency to around 90%.
Installing and Setting up Git
After downloading and installing git for windows open up a terminal window and add the following config items.
Then create a global gitignore file. See Global .gitignore
Installing and Setting up Starship
Following the directions for Windows on Starship's guide:
Installing and Setting up Starship via Powershell | |
---|---|
Installing Rust and Initial Setup
Download and run the rustup-init installer, choosing the default options.
Download and install Build tools for Visual Studio. Note that you'll want to check the version. At this time the current version is for VS 2022.
Open VS Code and install the following extensions:
- rust-analyzer
- Cargo
- Code Runner
- CodeLLDB
- crates
- Dev Containers
- Error Lens
- Even Better Toml
- Gremlins tracker
- Strict Whitespace
- Vim
- vscode-icons
- WSL
Next install some helper utils using cargo install
.
Installing Rust in WSL
Grab the rust install command from the Rustlang website and run that command.
Next you need to make sure you have the build essential package installed.
Installing the 'build-essential' package in Ubuntu WSL. | |
---|---|
Setting up WSL
First install WSL using powershell.
Setting up WSL using Powershell | |
---|---|
Next setup Git like we did in the Windows step above.
Next Install starship.
Installing starship in bash | |
---|---|