To install WebdriverIO you need to install Node.js and NPM first.
After installation of both you need to install Webdriverio and wdio. wdio is test runner. The package can be installed locally or globally but it is recommend to install it per project.
You also need to setup your selenium environment and browsers.
Follow below steps to install it to operation system of your choice:
1. Install WebdriverIO on Windows
2. Install WebdriverIO on MacOS
3. Install WebdriverIO on Ubuntu