You can easily install a wireless adapter in a desktop PC that came without one. There is a very small device (about the size of your thumbnail) that you plug into a USB port. Here is an example:
https://www.amazon.ca/gp/product/B07P6N2TZH/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&th=1
About $20.
Since it is wireless, it probably will be slower than a wired connection and maybe subject to typical wireless interference. Try it in different ports (front or back) to see which is better.