# Drone-cli exec using devices

**URL:** <https://drone.discourse.group/t/drone-cli-exec-using-devices/8622>\
**Category:** Drone Support\
**Created:** [March 5, 2019, 8:22am UTC](https://drone.discourse.group/t/drone-cli-exec-using-devices/8622 "2019-03-05T08:22:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AvishaiW](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@AvishaiW](https://drone.discourse.group/u/AvishaiW)\
**Post date:** [March 5, 2019, 8:22am UTC](https://drone.discourse.group/t/drone-cli-exec-using-devices/8622/1 "2019-03-05T08:22:16Z")

</div>

Hey,  
I’m trying to test my drone.yml locally on drone-cli using the `exec` command. the process runs successfully on the server but when running it locally it doesn’t recognize the “devices” attached. unfortunately, I haven’t seen any option to add it in the command. is there a workaround of any sort?

Thanks,  
Avishai
