yarn install no optional

#include <stdio.h>
#include <stdlib.h>

int main() {
    // Step 1: Declare the command as a string
    char command[] = "npm install --no-optional";

    // Step 2: Use the system function to execute the command
    int result = system(command);

    // Step 3: Check the result to determine if the command was successful
    if (result == 0) {
        printf("Command executed successfully.\n");
    } else {
        printf("Error executing the command.\n");
    }

    return 0;
}