To keep green chilies fresh and green for 2/3 weeks, keep the chilies as soon as you buy into a dry air-tight container (can be microwave plastic ones). Use as per need and close immediately. Chilies remain fresh till you finish them.