Find the studs and the joists along the wall where you will be installing the crown molding.
Mark the studs and joists with a pencil mark. The mark should be low enough on the wall that you can still see it when you hold the molding in place.
Spread glue on the inside of the mitered edges of your corner pieces.
Hold the crown molding in place, lining up the pieces at the corners of the wall as needed and secure in place with a nail. It will be easier to use a nail gun rather than a hammer. If you have access to a nail gun, use it, but it is not economical to purchase one just for this project.
Nail the molding along the top and bottom edges, 1/2 inch from each edge. Only place the nails into the previously marked studs and joists.
Nail the outside corner, to hold the two pieces together, using a finishing nail. This nail will not penetrate the wall, it will only penetrate the two pieces of crown molding to add extra stability to the corner. This step is not necessary, nor possible, for inside corners.
Wipe away any excess glue so that it does not dry, leaving behind an unsightly bead that will not absorb paint or stain, on the outside of the corner joint.