To write the Prime symbol ′ on keyboard using ALT codes; ALT+8242, just hold down the ALT key while typing the alt key code 8242. You have to use the numeric keypad of your keyboard. If you don not have nℱumeric keypad, hold down the Fn and ALT keys while typing th🔜e alt code number.