1. **Gather Materials**: Shelf brackets, screws, wall anchors (if needed), a drill, a screwdriver, a level, a measuring tape, a pencil, and a stud finder.
2. **Determine Placement**: Decide where you want the shelf. Use a stud finder to locate wall studs for maximum support. Mark these locations with a pencil.
3. **Measure and Mark**: Measure the desired height for the shelf. Use a level to draw a straight line where the top of the shelf will sit. Mark the bracket positions along this line, ensuring they align with the studs or are evenly spaced if using wall anchors.
4. **Position Brackets**: Hold the first bracket against the wall, aligning the top with the marked line. Mark the screw holes on the wall through the bracket holes.
5. **Drill Pilot Holes**: If attaching to studs, drill pilot holes at the marked points. If not, drill holes for wall anchors.
6. **Install Wall Anchors**: If not using studs, insert wall anchors into the drilled holes. Tap them gently with a hammer until flush with the wall.
7. **Attach Brackets**: Position the bracket over the holes. Insert screws through the bracket holes into the wall or anchors. Use a screwdriver or drill to tighten.
8. **Level and Secure**: Place a level on the bracket to ensure it’s straight. Adjust if necessary. Repeat the process for additional brackets, ensuring they are level with each other.
9. **Install Shelf**: Once brackets are secure, place the shelf on top. Check for levelness. If the shelf is not stable, adjust the brackets or add additional screws for support.
10. **Final Check**: Ensure all screws are tight and the shelf is secure before placing items on it.