arduino ide upgrade on raspberry pi

can you get a newer version of the ide on raspberry pi if so how?

Go here and download the Linux ARM version. Works on Raspberry Pi 2 and 3.

Probably goes without saying, but it also works on RPi Zero and Zero W.