For package.json - npm init -y
To install hardhat - npm install --save-dev hardhat
To run hardhat - npx hardhat (empty hardhat config file)
To install chai and others - npm install --save-dev @nomiclabs/hardhat-ethers ethers @nomiclabs/hardhat-waffle ethereum-waffle chai
npm i --dev @nomiclabs/hardhat-ethers@npm:hardhat-deploy-ethers ethers
npx hardhat help
npx hardhat compile (compilation)
npx hardhat test (tests)
npx hardhat run scripts/deploy.js (deploy)