Configure Windows Laptop for Development
Create RamDisk for Cache
- Install
ImDisk Toolkit
. - Set the size of RamDisk to
8GB
, allocate memorystatically
, mount it onR:\
, and set TEMP variables toR:\Temp
. - Open
command line
withadmin privilege
. Paradoxically, you should now close Edge. - Delete the exisiting cache directory.
rmdir /s /q "%USERPROFILE%\AppData\Local\Microsoft\Edge\User Data\Default\Cache"
- Create a symbolic link to RamDisk.
mklink /d "%USERPROFILE%\AppData\Local\Microsoft\Edge\User Data\Default\Cache" R:\Temp
- Set the default download path to R:\ in Edge.
Install Chocolatey and essential apps
Now run PowerShell
with admin privilege
and run the code for installation.
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'))
Still in PowerShell
, install essential apps.
choco install -y peazip filezilla git nodejs-lts python3 notepadplusplus vscode yarn freefilesync brave transgui hwmonitor treesizefree everything pdfxchangeeditor
Development Environment
Install Vue CLI and Quasar CLI.
npm install -g @vue/cli
yarn global add @quasar/cli
Install PKG.
npm install -g pkg
Enable Hyper-V.
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V
Back up the system
- Disable System Restore and Hibernation in PowerShell.
Disable-ComputerRestore -Drive "C:\" powercfg /h off
- Set virtual memory to zero.
- Download and install
AOMEI Backupper
, and back up the system.
After that ...
I set up GNOME
desktop for Ubuntu. I installed on demand some other SDKs, runtimes and the like.