Create/Build a Command-line interface (CLI) application that will install the following software: wget, curl, Node.js
- ]It checks the host operating system and uses the appropriate installation commands
- It checks for a previous installation before commencing a new one.
- This installation script contains useful log statements to inform the user of the current line of action.
- This task contains well-detailed documentation.
Run this installation script from any opened terminal using Admin or Super user privileges.
- If not on Windows 10, install Cygwin or getGnuWin32 to get bash support in your command line.
- To run the installation script, open the preferred command line application in the project directory and type
installation.sh
- From the project directory, Run
chmod +x installation.shfrom the terminal to make the script an executable. - From the project directory, run
Sudo ./installation.shfrom the terminal to execute the installation script.