This article explains how to connect your Steam Deck to a PC.
Steam Deck – Easily transfer files from a Windows PC
The two ways you can use a Steam Deck with a PC are to transfer files between the PCs, or to use the Steam Deck to stream Steam games installed on the PC. Streaming games is a trivial process that simply requires both devices to be connected to the same network. Transferring files, however, is a bit more complicated.
The Steam Deck is a mobile device, but you can’t simply connect it to a PC via USB like you would a phone or tablet. Steam Decks run on Linux, so that would be like connecting a Linux computer to a Windows computer, or even two Windows computers with a USB cable, which just doesn’t work.
Here are the best options for transferring files between a Steam Deck and a PC: