In this review, I trace the development of dielectrophoresis (DEP) for the directed assembly of carbon nanotubes (CNTs) and graphene. DEP involves driving a nanoparticle in an alternating current (AC) electric field, whereby the particles migrate towards or away from the direction of high-field gradient depending on the relative polarizability of the particle and medium. DEP offers a scalable and controllable route for integration of various kinds of nano-carbon devices, such as field-effect transistors, nano-electromechanical resonators and sensors. DEP utilizes nano-carbons in solution phase and is compatible with the various CNT and graphene sorting methods which have been developed, allowing for instance the large-scale integration of single-chirality CNTs.False-colour scanning electron micrograph of an array of semiconducting single-wall carbon nanotube devices assembled by alternating-current dielectrophoresis.