public static void Run(string location, string command) { CommandLineProcessor cmd = new CommandLineProcessor(); if (!Directory.Exists(Path.GetFullPath(location))) { Directory.CreateDirectory(Path.GetFullPath(location)); } try { Logging.Log.Info($"Executing: {location}> {command}"); var output = cmd.ExecuteCommand(Path.GetFullPath(location), new[] { command, }); Logging.Log.Info(output); } catch (Exception e) { Logging.Log.Failure($@"Failed to execute: ""{command}"" Please ensure that both npm and that the Angular CLI have been installed. To check that you have the npm client installed, run the following command in a terminal/console window: npm -v To install the CLI using npm, open a terminal/console window and enter the following command: npm install -g @angular/cli"); Logging.Log.Failure(e); } }