# \[HOW TO\] CLI install method

**URL:** <https://community.homey.app/t/how-to-cli-install-method/198>\
**Category:** Tutorials\
**Tags:** homey-pro\
**Created:** [August 23, 2018, 1:18pm UTC](https://community.homey.app/t/how-to-cli-install-method/198 "2018-08-23T13:18:12Z")\
**Posts on this page:** 20\
**Page:** 8

<div class="post-metadata">

**Author:** ![HaakonSM](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/haakonsm/32/53877_2.png) [@HaakonSM](https://community.homey.app/u/HaakonSM)\
**Post date:** [August 7, 2024, 3:30pm UTC](https://community.homey.app/t/how-to-cli-install-method/198/151 "2024-08-07T15:30:56Z")

</div>

I am sorry this is really new to me. I think I have unzipped the folder. How do i point it to the app?

---

<div class="post-metadata">

**Author:** ![HaakonSM](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/haakonsm/32/53877_2.png) [@HaakonSM](https://community.homey.app/u/HaakonSM)\
**Post date:** [August 7, 2024, 3:33pm UTC](https://community.homey.app/t/how-to-cli-install-method/198/152 "2024-08-07T15:33:29Z")

</div>

I am also getting this error message but I am still able to log in so I dont think this influence anything

 ![Skjermbilde](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/e/feb1a89692c3162ee64d84e5fa3a81308852b3f7.png)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [August 7, 2024, 5:01pm UTC](https://community.homey.app/t/how-to-cli-install-method/198/153 "2024-08-07T17:01:39Z")

</div>

Warnings, not errors.

---

<div class="post-metadata">

**Author:** ![Torkil\_S](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torkil_s/32/79667_2.png) [@Torkil\_S](https://community.homey.app/u/Torkil_S)\
**Post date:** [December 17, 2024, 10:21am UTC](https://community.homey.app/t/how-to-cli-install-method/198/154 "2024-12-17T10:21:12Z")

</div>

Just wanted to make a post, thanking for this HOW TO, and adding that the Airstage app on GitHub by mskg works fine! [Fujitsu Airstage - Homey](https://github.com/mskg/homey-fujitsu)  
I am quite a beginner at this, but I found it easier to install nodejs on my windows laptop than the mac. I troubled a bit and got some errors, but a tip is to paste the debug logs to Chat GPT, it helped me fix the errors, and now it´s installed and working with all capabilities on Homey.

---

<div class="post-metadata">

**Author:** ![Torkil\_S](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torkil_s/32/79667_2.png) [@Torkil\_S](https://community.homey.app/u/Torkil_S)\
**Post date:** [December 17, 2024, 10:23am UTC](https://community.homey.app/t/how-to-cli-install-method/198/155 "2024-12-17T10:23:35Z")

</div>

Did you get it to work?

---

<div class="post-metadata">

**Author:** ![Gregory\_JENISCH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gregory_jenisch/32/81062_2.png) [@Gregory\_JENISCH](https://community.homey.app/u/Gregory_JENISCH)\
**Post date:** [January 20, 2025, 2:05am UTC](https://community.homey.app/t/how-to-cli-install-method/198/156 "2025-01-20T02:05:09Z")

</div>

Hello everybody 🙂

I am not a dev-guy myself as you will rapidly notice… I have a Homey Pro 2023 and I need a 2nd instance of ISG App (Ismartgate) in order to manage my 2 ISG devices in flows.

Here is what I did :

1. I followed CLI install protocol : I downloaded Node.js v.22.x (higher than my Homey’s v.18.x) and installed it on my computer.
2. I downloaded the App Zip file posted here [iSmartGate app with more than one device - #2 by Peter\_Kawa](https://community.homey.app/t/ismartgate-app-with-more-than-one-device/95955/2) (thank you), unzipped it in my Downloads directory
3. Setup Nodejs in Terminal (cmd prompt) : npm install -g homey and logged in with success through the webpage that had opened
4. I navigated in Cmd prompt to my Downloads rep :  
cd /Users/DF/Downloads/homey-ismartgate-main  
and chose when prompted my Homey device as Active Homey
5. I changed (and saved the file 🙂 ) the App Name on lines 1 & 11 for  
“id”: “com.gogogate.ismartgateGREG”,  
“en”: “ismartgateGREG”
6. Still in Cmd I ran : npm install and addressed 1 moderate severity vulnerability (out of 12 packages) using npm audit fix. I ran again npm install and 0 vuln. where found.
7. I also tried to run : homey app install --remote… to no avail ☹

Did I miss something ?  
here are screenshots to better understand

Thank you for your help !  
GREG

 ![Capture d’écran 2025-01-20 à 00.21.37](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/9/f956b519964ddc240243b764fa4fbf1a1c4b01a2.png)  
 ![Capture d’écran 2025-01-19 à 23.54.28](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/d/2d79a1a5d04b8fed9ad7906c115cf552ff08664a.png)  
 ![Capture d’écran 2025-01-20 à 00.02.30](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/9/69fff4ce0f0d3ec55fa4b9b757c7dac599086551.png)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 21, 2025, 2:06am UTC](https://community.homey.app/t/how-to-cli-install-method/198/157 "2025-01-21T02:06:41Z")

</div>

Two more ideas:

> [@Gregory\_JENISCH](#):
>
> “id”: “com.gogogate.ismartgateGREG”,  
> “en”: “ismartgateGREG”

Try without using capitals! Like:  
com.gogogate.ismartgate-greg  
Capitals could cause weird effects.

When this line is present in that same file:  
` "compatibility": ">=5.0.0",`  
You’d change it to:  
` "compatibility": ">=12.2.0",`

If that doesn’t help,  
like I proposed before, try to install an other app, to see if the app code OR the CLI install fails.  
Try this one for instance:  
[https://github.com/RonnyWinkler/io.home-assistant.community](https://github.com/RonnyWinkler/io.home-assistant.community)  
Download button:

 ![1000041761](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/9/9910839b44c3f0fef7851f9556a30f3ab9ffade2.jpeg)

---

<div class="post-metadata">

**Author:** ![Gregory\_JENISCH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gregory_jenisch/32/81062_2.png) [@Gregory\_JENISCH](https://community.homey.app/u/Gregory_JENISCH)\
**Post date:** [January 21, 2025, 3:38am UTC](https://community.homey.app/t/how-to-cli-install-method/198/158 "2025-01-21T03:38:16Z")

</div>

Hi Peter,

Tx for this new attempt, unfortunately unfruitful ☹

 ![Capture d’écran 2025-01-21 à 04.27.26](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/7/a7c422d58c7665aff8ce5b4a75157e57844a8d21.png)  
 ![Capture d’écran 2025-01-21 à 04.24.22](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/6/1610b168a107522e7a2c489abfc9a2e85321134f.png)

I will try the 2nd idea 🙂

Maybe @robertklep will make his magics into motion…? 😉

---

<div class="post-metadata">

**Author:** ![Gregory\_JENISCH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gregory_jenisch/32/81062_2.png) [@Gregory\_JENISCH](https://community.homey.app/u/Gregory_JENISCH)\
**Post date:** [January 21, 2025, 4:20am UTC](https://community.homey.app/t/how-to-cli-install-method/198/159 "2025-01-21T04:20:08Z")

</div>

I tried with the other App.  
i don’'t see a second instance “home-assistant.community-greg” in the AppList on my homey, sadly…

note :

- in step 3. (see above, my first post) I was not asked to log in, no webpage opened
- in step 4. I was not prompted to select my Homey device as Active Homey

you will find below the screenshots of my attempt  
 → “npm install is up to date in 879ms” (is it good?), and  
 → “remote” is an unknown argument (is it bad ?)

thank yo for your help ! 🙂

 ![Capture d’écran 2025-01-21 à 04.56.43](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/a/3a02ee1e4a4a3e75b7ad5b7160c61c1a721fd7f3.png)  
 ![Capture d’écran 2025-01-21 à 04.55.54](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/e/9ecd95d8c952755bef809072175e90b875bc7519.png)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 21, 2025, 4:44am UTC](https://community.homey.app/t/how-to-cli-install-method/198/160 "2025-01-21T04:44:08Z")

</div>

Sorry, I wasn’t clear.  
When you don’t use the HA community app, when it’s not installed that is,  
try to install it without editing the code.

You don’t need to perform `npm install -g homey` each time. It’s already installed on your computer, like any software you install.

When additional stuff needs to be done, it will be prompted.

You’d only use the `homey app install` or `homey app run` commands, from the app directory path, to install or run an app  
.

> [@Gregory\_JENISCH](#):
>
> - in step 3. (see above, my first post) I was not asked to log in, no webpage opened
> - in step 4. I was not prompted to select my Homey device as Active Homey

These are 1 time actions and saved. The login will be prompted when it’s expired.  
But it can’t hurt to select Homey each time with `homey select` to see if it’s reachable.

> [@Gregory\_JENISCH](#):
>
> “remote” is an unknown argument

I don’t understand why `--remote` is unknown  
Are you sure you’re running a Pro 2023, the hockey puck?  
Can you try `homey app install` without the `--remote` flag?

I hope Robert can take a look here 😊

---

<div class="post-metadata">

**Author:** ![Gregory\_JENISCH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gregory_jenisch/32/81062_2.png) [@Gregory\_JENISCH](https://community.homey.app/u/Gregory_JENISCH)\
**Post date:** [January 22, 2025, 2:04am UTC](https://community.homey.app/t/how-to-cli-install-method/198/161 "2025-01-22T02:04:52Z")

</div>

thank you Peter for the explanations 🙂

i already had the HAC App installed on my Homey !  
I installed again 5 minutes ago like you said, without the changes in the code and no --remote flag : it worked or so I think (overwritten) because the version was v1,9,0 (see screenshot yesterday) and is now v1,10,1 (see screenshot below). Right ?

 ![Capture d’écran 2025-01-22 à 02.45.29](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/e/beb8431eea0cadb6b34b61a0b7ffe7090d554f73.png)

and YES! 😉 I have the puk !!!

 ![Capture d’écran 2025-01-22 à 02.48.40](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/9/9998e79e36e0337b3ad804a453f0eccc3826c3ff.png)

can’'t wait for @robertklep 🙂 🙂 🙂

---

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [January 22, 2025, 5:55am UTC](https://community.homey.app/t/how-to-cli-install-method/198/162 "2025-01-22T05:55:26Z")

</div>

Can you try `homey app run --remote`?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [January 22, 2025, 5:57am UTC](https://community.homey.app/t/how-to-cli-install-method/198/163 "2025-01-22T05:57:26Z")

</div>

- What does `homey --version` say?
- What does `where homey` say?

---

<div class="post-metadata">

**Author:** ![Gregory\_JENISCH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gregory_jenisch/32/81062_2.png) [@Gregory\_JENISCH](https://community.homey.app/u/Gregory_JENISCH)\
**Post date:** [January 22, 2025, 11:28am UTC](https://community.homey.app/t/how-to-cli-install-method/198/164 "2025-01-22T11:28:48Z")

</div>

Hi Danee ! 🙂  
Thank you for your help. !  
Here is what Cmd says…  
Greg

 ![Capture d’écran 2025-01-22 à 12.21.50](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/e/7ea7ac7ecf00a5e1bfc023dec16b3cd9158739ba.png)

---

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [January 22, 2025, 11:32am UTC](https://community.homey.app/t/how-to-cli-install-method/198/165 "2025-01-22T11:32:52Z")

</div>

It says your Homey is offlinem you will have to fix that first.

Also, there is no need to run additonal node commando’s

---

<div class="post-metadata">

**Author:** ![Gregory\_JENISCH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gregory_jenisch/32/81062_2.png) [@Gregory\_JENISCH](https://community.homey.app/u/Gregory_JENISCH)\
**Post date:** [January 22, 2025, 1:19pm UTC](https://community.homey.app/t/how-to-cli-install-method/198/166 "2025-01-22T13:19:33Z")

</div>

Ok thanks.  
How can I make sure that it is online … because every time I try Cmd prompts I refresh the homey webpage to check for the changes and it appears online to me🤪

---

<div class="post-metadata">

**Author:** ![Gregory\_JENISCH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gregory_jenisch/32/81062_2.png) [@Gregory\_JENISCH](https://community.homey.app/u/Gregory_JENISCH)\
**Post date:** [January 22, 2025, 3:16pm UTC](https://community.homey.app/t/how-to-cli-install-method/198/167 "2025-01-22T15:16:13Z")

</div>

Hi Robert ! 🙂  
Thank you for your help too !  
Here is what Cmd says about your 2 questions…  
Greg

 ![Capture d’écran 2025-01-22 à 16.11.52](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/5/55d7c3cf37b6c4e8cbf992abbaa2faa39ea3d09c.png)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [January 22, 2025, 3:24pm UTC](https://community.homey.app/t/how-to-cli-install-method/198/168 "2025-01-22T15:24:28Z")

</div>

Ah I see now: `--remote` is only defined when using `homey app run`, not for `homey app install`

The whole “Homey Offline” thing is because Homey’s authentication system has been broken for years 🤷🏼‍♂️

---

<div class="post-metadata">

**Author:** ![Gregory\_JENISCH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gregory_jenisch/32/81062_2.png) [@Gregory\_JENISCH](https://community.homey.app/u/Gregory_JENISCH)\
**Post date:** [January 22, 2025, 5:53pm UTC](https://community.homey.app/t/how-to-cli-install-method/198/169 "2025-01-22T17:53:58Z")

</div>

So, any idea of what might have failed / I did wrong 😑 ?

---

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [January 22, 2025, 6:41pm UTC](https://community.homey.app/t/how-to-cli-install-method/198/170 "2025-01-22T18:41:22Z")

</div>

You used the parameter `--remote` on the `homey app install` command which isn’t a valid parameter. `--remote` is to be used only for `homey app run`.

So, it’s like this:  
`homey app install` Installs the app on your Homey, no debugging output  
`homey app run` runs the app from a docker\* container with debugging output  
`homey app run --remote` runs the app from your homey with debugging output

When you use `homey app run --remote` the app will keep running on your Homer after quitting your terminal app.

\* needs docker setup, not recommended for novice users

[Previous page](https://community.homey.app/t/how-to-cli-install-method/198.md?page=7)

[Next page](https://community.homey.app/t/how-to-cli-install-method/198.md?page=9)
