## install nodejs for centos ``` sudo yum install nodejs ``` for ubuntu ``` curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - sudo apt install nodejs ``` ## instal hardhat execute command in current dirctionary. ``` npm install --save-dev hardhat ``` ## run test ``` npx hardhat test ```