Games like Code: Terraform
Games like Code: Terraform include Oxygen Not Included, Dyson Sphere Program, Prison Architect, RimWorld, and Factorio. We matched them by the tags players give Code: Terraform on Steam (Programming, Automation, Simulation, Sandbox, and Colony Sim): closest matches first, and among equally close ones the better-known games.

Oxygen Not Included
Shared: Colony Sim · Sandbox · Simulation

Dyson Sphere Program
Shared: Automation · Simulation · Space

Prison Architect
Shared: Simulation · Sandbox · Colony Sim

RimWorld
Shared: Colony Sim · Sandbox · Strategy

Factorio
Shared: Automation · Sandbox · Strategy

Autonauts
Shared: Programming · Automation · Simulation

The Crust
Shared: Automation · Colony Sim · Sandbox

Satisfactory
Shared: Automation · Sandbox · Base Building

shapez 2 - Factory
Shared: Automation · Simulation · Strategy

Stormworks: Build and Rescue
Shared: Sandbox · Automation · Programming

SPORE™
Shared: Sandbox · Simulation · Colony Sim

Timberborn
Shared: Automation · Colony Sim · Sandbox

Space Haven
Shared: Colony Sim · Simulation · Strategy

shapez
Shared: Automation · Sandbox · Strategy

Dwarf Fortress
Shared: Simulation · Colony Sim · Sandbox

Space Engineers
Shared: Sandbox · Simulation · Building

Kerbal Space Program
Shared: Simulation · Sandbox · Space

Manor Lords
Shared: Simulation · Strategy · Sandbox

Captain of Industry
Shared: Automation · Simulation · Strategy

Opus Magnum
Shared: Programming · Automation · Simulation

Astro Colony
Shared: Automation · Colony Sim · Simulation

Stationeers
Shared: Automation · Colony Sim · Sandbox

Stellaris
Shared: Strategy · Sandbox · Simulation

Kingdoms and Castles
Shared: Colony Sim · Simulation · Sandbox