Kubectl command not found

When I execute the command kubectl get node -o wide I get the following error. post running the bash install-script.sh in the devops pipeline module in installation software in VM at 5:28

root@devsecops-cloud:~/kubernetes-devsecops/setup/vm-install-script# kubectl get node -o wide
kubectl: command not found

Could you please give us a link to the lab you’re talking about. Not knowing where you’re trying to execute kubectl, it’s impossible to know if it’s even a reasonable assumption that kubectl would be installed, much less whether it was correctly configured to be useful.

Course: Kubernetes DevOps & Security
Video: Demo - Installing software in VM
Video Time: 5:10

I have followed the video from the above course, and Instructed has told in the previous training video to create a
→ Free AZURE account and then spin up a ubuntu VM using a template, Which I did and then we need to
→ log in into the Azure VM and then clone the repository GitHub - sidd-harth/kubernetes-devops-security: Udemy Course on DevSecOps and then ran the following script in the VM ubuntu , kubernetes-devops-security/setup/vm-install-script/install-script.sh at main · sidd-harth/kubernetes-devops-security · GitHub
→ I saw some errors during the script running. After this instructed has told to run the kubectl get node -o wide to validate the script installed all required software or not.
I get the error saying "command kyubectl not found "

Feel free to let me know if you have any questions.