# \[Bug\] bash: ros2: command not found

**URL:** <https://get-help.theconstruct.ai/t/bug-bash-ros2-command-not-found/28476>\
**Category:** URDF for Robot Creation in ROS2\
**Created:** [January 19, 2024, 6:53pm UTC](https://get-help.theconstruct.ai/t/bug-bash-ros2-command-not-found/28476 "2024-01-19T18:53:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![timottesen](https://get-help.theconstruct.ai/letter_avatar_proxy/v4/letter/t/a9adbd/32.png) [@timottesen](https://get-help.theconstruct.ai/u/timottesen)\
**Post date:** [January 19, 2024, 6:53pm UTC](https://get-help.theconstruct.ai/t/bug-bash-ros2-command-not-found/28476/1 "2024-01-19T18:53:58Z")

</div>

This is an error report.

* * *

**Screenshot of the error**

 ![](https://get-help.robotigniteacademy.com/uploads/default/original/2X/4/4e0ca5d6556c928ecee97b453698c49356be31d8.png)
* * *

**Error details**

what is happening here?

---

<div class="post-metadata">

**Author:** ![bayodesegun](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/bayodesegun/32/10684_2.png) [@bayodesegun](https://get-help.theconstruct.ai/u/bayodesegun)\
**Post date:** [January 22, 2024, 11:12am UTC](https://get-help.theconstruct.ai/t/bug-bash-ros2-command-not-found/28476/3 "2024-01-22T11:12:01Z")

</div>

You ran the source command in the wrong directory.

You should run it in `ros2_ws`, not `ros2_ws/src`.

---

<div class="post-metadata">

**Author:** ![system](https://get-help.theconstruct.ai/uploads/default/original/2X/9/9d3ce8305cc0d0d9b6e07d15767a6f245c526f1b.jpeg) [@system](https://get-help.theconstruct.ai/u/system)\
**Post date:** [January 27, 2024, 11:12am UTC](https://get-help.theconstruct.ai/t/bug-bash-ros2-command-not-found/28476/4 "2024-01-27T11:12:57Z")

</div>

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.
