Check that the feature is available
Dev Drive needs a recent Windows 11 build, at least 8 GB of RAM and admin rights. A virtual machine or a host with an unusual storage driver can report the option as missing.
winver
A Dev Drive is a ReFS volume with Defender in performance mode. Package managers and build folders on it get measurably faster, and the setup takes ten minutes.
Create a **Dev Drive** of at least 50 GB in **Settings > System > Storage > Advanced**, verify the trust state with **fsutil devdrv query**, then move **npm, pip, cargo and gradle** caches onto it.
Dev Drive needs a recent Windows 11 build, at least 8 GB of RAM and admin rights. A virtual machine or a host with an unusual storage driver can report the option as missing.
winver
Settings offers the guided path: pick the size, choose whether to shrink an existing volume or use free space, and let it format. The minimum is 50 GB, which is the point where the relocation tables pay off.
Settings > System > Storage > Advanced storage settings > Disks & volumes > Create dev drive
A Dev Drive is trusted by the antivirus, which is where most of the speed comes from. Query the state once; if it is not trusted, scanning still runs at full cost.
fsutil devdrv query D:
Caches are the biggest win: thousands of small files, written and read on every install. Set the environment variables rather than copying folders by hand, then let the tools rebuild.
setx NPM_CONFIG_CACHE D:/caches/npm
setx PIP_CACHE_DIR D:/caches/pip
setx CARGO_HOME D:/caches/cargo
Time one cold build on the old location and the same build on the Dev Drive. Without both numbers the change is a feeling, and a full disk or a busy background task can erase it.
File History and some image tools do not cover ReFS volumes the way they cover NTFS. Keep source code in a repository and treat the Dev Drive as disposable build space.
Not enough unallocated space, an unsupported build, or a VM. Shrink a volume to free 50 GB or more.
The caches still live on C. Check the environment variables in a new terminal window, not the old one.
Permissions on a new volume, or an installer that insists on the system drive. Create the folder first and grant your account full control.
Block cloning and ReFS metadata. Check the volume with the usual tools before you move more onto it.
No. It targets many small file operations; game loading is dominated by large sequential reads.
Yes. Move the data off, then delete the volume in the same settings page.
Unset the cache variables with **setx NPM_CONFIG_CACHE ""** and delete the volume in **Disks & volumes** after moving the data back. The tools rebuild their caches on the next install.
Free · no account needed · tracks your progress