The low enzymatic capability of terpene synthases and the limited availability of precursors often hinder the productivity of terpenes in microbial hosts. Herein, a systematic approach combining protein engineering and pathway compartmentation was exploited in