# Deploying Applications \> 4. Installing Docker Machine \> Permission denied

**URL:** <https://forum.codewithmosh.com/t/deploying-applications-4-installing-docker-machine-permission-denied/11009>\
**Category:** Docker\
**Created:** [March 2, 2022, 2:07am UTC](https://forum.codewithmosh.com/t/deploying-applications-4-installing-docker-machine-permission-denied/11009 "2022-03-02T02:07:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![frame897](https://avatars.discourse-cdn.com/v4/letter/f/ee7513/32.png) [@frame897](https://forum.codewithmosh.com/u/frame897)\
**Post date:** [March 2, 2022, 2:07am UTC](https://forum.codewithmosh.com/t/deploying-applications-4-installing-docker-machine-permission-denied/11009/1 "2022-03-02T02:07:55Z")

</div>

Hello, I am trying to install docker machine on MacOS using

$ curl -L [https://github.com/docker/machine/releases/download/v0.16.2/docker-machine-](https://github.com/docker/machine/releases/download/v0.16.2/docker-machine-)`uname -s`-`uname -m` \>/usr/local/bin/docker-machine &&   
chmod +x /usr/local/bin/docker-machine

I am getting  
“-bash: /usr/local/bin/docker-machine: Permission denied” .  
Can someone help?

---

<div class="post-metadata">

**Author:** ![frame897](https://avatars.discourse-cdn.com/v4/letter/f/ee7513/32.png) [@frame897](https://forum.codewithmosh.com/u/frame897)\
**Post date:** [March 3, 2022, 2:18am UTC](https://forum.codewithmosh.com/t/deploying-applications-4-installing-docker-machine-permission-denied/11009/2 "2022-03-03T02:18:09Z")

</div>

I resolved my own issue. I had used the github copy and it copied the entire code as well as the “$” which is already in the terminal. Newbie mistake. I copied just " curl -L [https://github.com/docker/machine/releases/download/v0.16.2/docker-machine-](https://github.com/docker/machine/releases/download/v0.16.2/docker-machine-) `uname -s` - `uname -m` \>/usr/local/bin/docker-machine &&  
chmod +x /usr/local/bin/docker-machine" into the terminal and was able to download the docker machine.
