We demonstrate controlled trapping and manipulation of single silver (Ag) nanowires in two dimensions at a surface using structured light fields generated with a spatial light modulator. The Ag nanowires are attracted toward the regions of maximal optical intensity along the surface when the trapping laser light is linearly polarized and are repelled toward the minima of optical intensity when the light is circularly polarized. For linearly polarized light, stably trapped nanowires are oriented perpendicular to the polarization direction due to a torque induced by an asymmetrical response of the nanowire to the electric field. The attractive interactions with linearly polarized trapping laser light, which is at 800 nm for all measurements, enable stable trapping and translation of Ag nanowires in the antinodes of optical gratings and in zero-order Bessel beams. Trapped nanowires can be positioned and oriented on a transparent dielectric substrate, making possible the nonmechanical assembly of plasmonic nanostructures for particular functions.