There are two ways for transferring thesaurus between environments.
1) Export the site data from one environment and import it to other.
2) Using IFCR command. From your /<yourendecapath>/<application> /control directory, execute:
runcommand.bat IFCR exportNode ..\config\temp\thesaurus thesaurus
Once you have the exported version, you can easily import it using
runcommand.bat IFCR importNode ..\config\temp\thesaurus thesaurus