# Getting an exception during deployning nodejs app provided by okteto

**URL:** <https://community.okteto.com/t/getting-an-exception-during-deployning-nodejs-app-provided-by-okteto/713>\
**Category:** Help\
**Created:** [March 10, 2023, 11:06am UTC](https://community.okteto.com/t/getting-an-exception-during-deployning-nodejs-app-provided-by-okteto/713 "2023-03-10T11:06:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ppincet](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/ppincet/32/314_2.png) [@ppincet](https://community.okteto.com/u/ppincet)\
**Post date:** [March 10, 2023, 11:06am UTC](https://community.okteto.com/t/getting-an-exception-during-deployning-nodejs-app-provided-by-okteto/713/1 "2023-03-10T11:06:15Z")

</div>

i’m tryning to perform  
$ okteto deploy --build  
(of cuz repo has been pulled from  
[GitHub - okteto/node-getting-started: Develop Node.js Apps in Kubernetes with Okteto](https://github.com/okteto/node-getting-started))  
but always get an exception like  
bash: kubectl: command not found  
x Error executing command ‘kubectl apply -f k8s.yml’: exit status 127  
what am i doing wrong?

---

<div class="post-metadata">

**Author:** ![AgustinRamiroDiaz](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/agustinramirodiaz/32/34_2.png) [@AgustinRamiroDiaz](https://community.okteto.com/u/AgustinRamiroDiaz)\
**Post date:** [March 10, 2023, 12:06pm UTC](https://community.okteto.com/t/getting-an-exception-during-deployning-nodejs-app-provided-by-okteto/713/2 "2023-03-10T12:06:50Z")

</div>

Hi @ppincet !

To follow that tutorial from the CLI you’ll need to have kubectl installed. You can follow their official documentation [here](https://kubernetes.io/docs/tasks/tools/#kubectl)

Another alternative could be to sign into [cloud.okteto.com](http://cloud.okteto.com) and deploy from the UI
