Install a ceiling light and switch.
How to install a wall switch for a ceiling light.
To wire the ceiling fixture to the new wall switch first connect the copper grounding wire to the fixture.
Wiring a new ceiling light and switch from an existing power source.
How to add a wall switch to a light fixture that is turned on and off by a chain cord decide where you want to place your switch.
Screw the switch into the box and then cover it with the cover plate.
Generally wall switches are on the right hand side a few feet metres past the door opening.
Mark this wire black.
Pick a single pole light switch for most applications.
Drill through the floor in the correct stud bay and send the wires for the switch and the light up to the switch using the fish tape.
No house seems to have exactly the right lights in the right place with convenient safe switches.
Installing additional light fixture and switch wiring should be done according to local and national electrical codes with a permit and be inspected.
A single pole wall switch usually has a lever or toggle that completes the circuit when it is flipped up to turn a light device or appliance on.
Mount the electrical box with madison bars in the wall and wire the switch.
Even if a plug in hanging lamp is where you want it built in wiring is safer more convenient and easier on the eyes.
Common applications include ceiling or hallway light switches a cellar or attic light a ceiling fan or chandelier or an outdoor patio light.
Got light where you need it.
After removing the black wire to the fixture s lead splice it into the new white wire.
From what has been described in this question it appears that a neutral wire is not available at the wall switch.
Screw the switch into the wall with a screwdriver and supplied screws.