Commandments come through the Word of God. The Word is light to our path and a lamp to our feet.
For example, I can command my child from the abundance of what I know which comes from my words. That’s the same way our heavenly father keeps speaking to us. God commands us through His Word.
Please spend time to read and meditate on Psalm 119.