Producing hydrochloric acid (HCl) requires a careful approach due to the hazardous nature of the chemical. Hydrochloric acid is typically produced commercially by the direct synthesis of hydrogen chloride gas and water. If you are considering producing it in a laboratory setting, please note that this should only be done with proper training, under supervision, and in compliance with local regulations.
Here is a general outline of the equipment