install clang_format: sudo apt-get install -y clang-format-3.8 Download the .clang-format file intel@intel-desktop:~$ ros2 pkg create crystal_ws going to create a new package package name: crystal_ws destination directory: /home/intel package format: 2 version: 0.0.0 description: TODO: Package description maintainer: ['intel <[email protected]>'] licenses: ['TODO: License declaration'] build type: ament_cmake dependencies: [] creating folder ./crystal_ws creating ./crystal_ws/package.xml creating source and include folder creating folder ./crystal_ws/src creating folder ./crystal_ws/include/crystal_ws creating ./crystal_ws/CMakeLists.txt