About binwalk

I am new in kali linux i want to how to upgrade binwalk can any help about this,

I am not fully clear on what you mean by upgrade it. Do you mean to get the latest version? If so, did you download the tool from GitHub, or apt?

Typically when you want to upgrade tools with apt you would need to run sudo apt update followed by sudo apt install --only-upgrade binwalk.

i want to upgrade binwalk cause latest is version 3 and in kali built in version 2.x

Yeah in that case you will need to go to its GitHub page and install it manually or wait for Kali to get the latest version in the repo