If using fresh peas, fill a large saucepan with salted water and bring to a boil. Add the peas and cook until just tender, 3 to 5 minutes; drain.
Heat the oil in a medium skillet over medium heat. Add the peas, garlic, curry powder, and ¼ teaspoon salt and cook, stirring occasionally, until fragrant and warmed through, 2 to 3 minutes. Add the cilantro and lime juice and toss to combine.