How do i compile the client from soource

how do i compile(source) the client for windows and linux

Just a simple search on this forum would have helped you:

This is for windows, for linux you can either use the client packaged by your distribution or install it directly from pypi (but you’ll have to take care of the dependencies yourself).

To complete there is a work in progress to provide a flatpack build: Issue 11250: Publish flatpak application for tryton - Tryton issue tracker

And on MacOS it is similar to Windows but using https://brew.sh/.