Air out the carpet before installation. Hang it on a sturdy clothesline in full sun, if possible, or place it in a clean, well-ventilated area, such as a section of your garage with all the windows open. Air out the carpet for a week, if possible.
Put down felt carpet padding rather than commercial brands that use a lot of chemicals. Research padding materials before purchase through the Environmental Protection Agency and the Carpet and Rug Institute, so you know exactly what you are buying.
Open all doors and windows prior to installation. Place one or more fans in the room being carpeted, as well as adjacent rooms to keep the air circulating.
Use tacks to secure your carpet to the padding and floor rather than glue. Glue adds to the chemical odor given off by the carpet. If the carpet is installed by professionals, familiarize yourself with the Carpet and Rug Institute's Commercial and Residential Installation Standards guidelines so you know the installer is following correct procedures.
Use an air purifier in the room where the carpet was put down, to rid the air of lingering airborne chemicals from carpet, solvents, and any other chemicals used in installation.
Wear dust masks while the carpet is being installed. Leave your house following the installation, to avoid breathing chemicals.