TDS can be measured via an electronic test pen - you can order one via Amazon or similar. We have this one and it’s worked well:
TDS Meter Digital Water Tester,... https://www.amazon.com/dp/B08NFHS3B3?ref=ppx_pop_mob_ap_share
Don’t get hung up on TDS numbers however; they measure EVERYTHING in the water including things that may not help or harm shrimp. As I said, guides often recommend 180-200 TDS for cherries, and we keep our tank at 315-360 because that’s what gets KH and GH in the desired range.
The TDS of my tap water ranges daily from 40 to 125 without rhyme or reason, so that should help you understand how vague this paramater can be.
Flip Acquatics on youtube has some great videos on youtube regarding shimp care and water. Worth a look, although they’re long and can ramble.