Aloe is correct, however, there are hundreds of varieties if you're looking for the specific name of it.
Take a leaf to a local nursery that sells lots of succulents.
Your photos don't show the edge features, such as, spike spacing, spike color, spike shape, etc. good enough for my wife who runs a succulent wholesale nursery to identify. Plus once I told her that you live in Sacramento, she said it's probably not one of the aloe varieties she propagates. That one is most likely a cold weather tolerant variety.
BTW, all cacti are succulents, however, NOT all succulents are cacti.
An aloe is a succulent, not a cacti.
It's tough for us novices to know much about these types of plants.
Way too complicated...