Back up the computer with your latest progress

Edit

Close Hollow Knight and copy its save folder somewhere outside the game folder. Keep that copy until you have opened the right save slot on the Deck. Team Cherry lists these locations for the native desktop versions. Team Cherry's cloud save announcement

Computer you last played onFolder to copy
Windows%USERPROFILE%/AppData/LocalLow/Team Cherry/Hollow Knight
macOS~/Library/Application Support/unity.Team Cherry.Hollow Knight
Linux~/.config/unity3d/Team Cherry/Hollow Knight

Sync the original save, then open it on the Deck

Edit
  1. On the computer, open Hollow Knight > Properties > General in your Steam Library and enable Steam Cloud. Check the same setting on the Deck using the same Steam account. Valve's Steam Cloud guide
  2. Open the slot with your latest progress on the computer, save and quit. Leave Steam online while it uploads. This step also gets an older local Mac or Linux save into the shared cloud location. Team Cherry's cloud save announcement
  3. Once Steam finishes syncing, open Hollow Knight on the Deck and check the save slot before you continue playing. If Steam reports a conflict, compare the times with your last session. If the slot looks old or Steam reports a sync error, return to the original computer and check whether its upload finished. Valve's cloud conflict and missing-progress guidance