You can use this recipe in an air fryer. However, it takes a little more time because the air fryer basket is smaller than a large oven baking sheet. So you will have to proceed in batches until all 4 cups of cauliflower florets are roasted.