How to array an object along a curve in Blender
We can follow these steps to make array object along a curve,
1. Go to Add > Curve , and choose Bezier Curve
2. Go to Edit Mode to Edit the shape of curve
3. Go back to Object Mode, select an object and go to Modifier Properties
4. Add a Modifier, go to Generate and choose Array
5. In Array Modifier, choose Curve in Shape
6. In Curve Object, select the Curve you add in Step 1

Furthermore, all these steps are also shown in this YouTube tutorial video visually, watch here,
Timestamp
0:00 Intro – How to array along a curve in Blender
0:10 Add Curve and Edit Curve
0:41 Move , Roate, Scale and Extrude Points of curve
1:15 Add object for array
1:39 Add Array Modifier
1:50 Change shape to Curve
2:10 Customize Array Modifier settings for objects along curve


