How to backup and install custom module and doctype to another computer?

Hi Friends ,

Could someone give me the commands to backup the custom module and doctype I created and install it in another computer ?

Thanks in advance ,

Make an app! http://frappe.github.io/frappe/user/en/tutorial/