The Torah never mentions Chanukah. So how can we say God commanded it?
Look at the blessing: "who made us holy with His commandments and commanded us to light the Chanukah light." But Chanukah is not in the Torah. The Gemara (the Talmud, the written record of the rabbis' debates) asks the question itself: "And where did He command us?"
Rashi (the great medieval commentator, who died in 1105) says it plainly. This mitzvah is not from the Torah. It is from the words of the rabbis.
The Gemara gives two answers. Rav Avya says it comes from a verse in Devarim (Deuteronomy) 17:11, where the Torah tells us not to turn aside, right or left, from what the high court of the time tells us. Rav Nechemya points to another verse in Devarim, 32:7: "Ask your father and he will tell you, your elders and they will say to you."
The Rambam (Maimonides, a great medieval scholar who died in 1204) takes up this same question in his laws of blessings, and he names Chanukah. Where did God command us in the Torah? In that same verse: "what they say to you, you shall do." So he says the blessing means this: God made us holy with His commandments, and in them He commanded us to listen to the people who told us to light the Chanukah light. Elsewhere he adds that this covers the decrees, rules and customs the sages set up "to strengthen the faith and fix the world."
So "commanded us" does not mean the Torah mentioned the menorah. On the first answer, God commanded us to follow our sages, and the sages said to light. On the second, the verse tells us to ask our elders and listen to what they say. The Gemara gives both and, in this passage, does not choose between them.
Shabbat 23a,Rashi on Shabbat 23a,Devarim 17:11 and 32:7,Rambam, Laws of Blessings 11:3,Rambam, Laws of Rebels 1:2Why is Shehecheyanu only for night one, but the miracle blessing every night?
On the first night of Chanukah, the person lighting says three blessings. After that, two. The one that drops out is Shehecheyanu, "who kept us alive, sustained us, and brought us to this season." The miracle blessing stays every night.
The Gemara asks about this directly. Rav Yehuda gives the rule: the person lighting says three blessings on the first night, then two. The Gemara asks what is being cut, and the answer is the one about time. Then comes the challenge: why not cut the miracle instead? The answer: the miracle is present on all the days.
Rashi explains the logic. The oil in the Temple burned for all eight days, so there is a miracle to bless on every one of them. The blessing about time is different. Once God has brought us to the beginning of the season, He has brought us. In other words, there is nothing new to arrive at on night two.
The Rambam writes the same rule in his law code: Shehecheyanu is said only on the first night. He also covers the person who only watches. On the first night, the watcher says two blessings, the miracle and Shehecheyanu. On the other nights, the watcher says one, the miracle.
Rashi's reading is his way of explaining a short answer in the Gemara. The Gemara itself gives only the two lines: time is cut, and the miracle is there all the days.
Shabbat 23a,Rashi on Shabbat 23a,Rambam, Laws of Megillah and Chanukah 3:4Why do women light Chanukah lights if time-bound mitzvot usually exempt them?
The Mishnah (the first written collection of rabbinic law) has a general rule: for a positive commandment tied to a set time, men are obligated and women are exempt. Chanukah lights are lit at a set time, at night, on certain nights. So you might expect women to be exempt.
The Gemara says the opposite. Rabbi Yehoshua ben Levi taught that women are obligated in the Chanukah light, "because they too were part of that miracle." The same sage uses the same reason for the reading of the Megillah on Purim.
What was the miracle women were part of? On Purim, Rashi says Haman's decree included women and children. On Chanukah, Rashi says the Greeks decreed that every bride had to be taken by the Greek official first, and the miracle came about through a woman. The Gemara itself does not tell this story. It is Rashi's explanation.
The law follows the Gemara. The Rambam writes that whoever is obligated to read the Megillah is obligated to light Chanukah lights. The Shulchan Aruch (the main code of Jewish law) says it directly: a woman lights Chanukah lights, because she is also obligated.
The Gemara's own reason is only those few words, and later commentators read them in different ways. In another place, on Pesachim 108b, Rashi says the Purim rescue came through Esther. The Ran (Rabbi Nissim of Gerona, a Spanish commentator of the 1300s) says the main meaning is that women too were in danger.
Mishnah Kiddushin 1:7,Shabbat 23a,Megillah 4a,Rashi on Shabbat 23a, on Megillah 4a and on Pesachim 108b,Ran on Megillah 2b,Rambam, Laws of Megillah and Chanukah 3:4,Shulchan Aruch, Orach Chaim 675:3