I don’t know how to change your keyboard, but as a workaround for your learning course you can do any ASCII Character by pressing ctrl + shift + u then let go of them and type the unicode for the character and hit enter. The unicode for $ is 0024.
So where you want it when you want the $, at the same time ctrl + shift + u then release and a u will appear, after this immediately type 0024 and then enter. This will turn the u0024 into a $ and you can continue.
If you are needing it alot, another time saver would be doing this once highlighting the $ in the terminal and copying it, then pasting with ctrl + shift + v whenever needed.