You're reading Mocko v1 (legacy) documentation. Mocko v2 is the current version. View the v2 docs.
Updating Node.js
Mocko requires Node.js 14 or newer. You can update it using the n utility.
Install n
Install n globally with npm. On Linux or Mac you may need sudo:
sudo npm i -g nUpdate Node
Use n to install the stable release. On Linux or Mac you may need sudo again:
sudo n stableNow you are ready to mock.