# Android - termux - Playstore no longer a recommended install source

**URL:** <https://discourse.nodered.org/t/android-termux-playstore-no-longer-a-recommended-install-source/85034>\
**Category:** General\
**Created:** [30 January 2024 09:29 UTC](https://discourse.nodered.org/t/android-termux-playstore-no-longer-a-recommended-install-source/85034 "2024-01-30T09:29:48Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![btsimonh](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/btsimonh/32/3318_2.png) [@btsimonh](https://discourse.nodered.org/u/btsimonh)\
**Post date:** [30 January 2024 13:57 UTC](https://discourse.nodered.org/t/android-termux-playstore-no-longer-a-recommended-install-source/85034/5 "2024-01-30T13:57:27Z")

</div>

**Experience of installing Node-Red on Android using termux from F-Droid:**  
_([This](https://che-adrian.medium.com/install-node-red-on-an-android-device-using-the-termux-app-1e1679ae876) is a more in-depth writeup. The below is just my experience of doing it...)_

1/ Download [F-Droid](https://f-droid.org/en/docs/Get_F-Droid/) from the original website, and chrome should ask if you want to install it.  
2/ In F-Droid, search Termux. Install the one just called 'Termux'. (at the point of installation, my random Android on some chinese tablet asked me to authorise F-Droid to install things...).  
3/ since I will try to run node-red at boot, I also installed Termux:boot - this prompted 'Harmfull app blocked', but you can then 'install anyway'.  
4/ open termux.  
5/ to make things easier, install openssh (I read [here](https://joeprevite.com/ssh-termux-from-computer/)):

```auto
apt update
apt upgrade
apt install openssh

```

set a password, then run sshd:

```auto
passwd
  type pwd twice
sshd &
ifconfig

```

now you can ssh in to cut & paste more easily..  
5/ Install node-red:  
ssh into your new android device at IP:8022 - use root and the pwd entered above.

```auto
apt install coreutils nano nodejs
npm i -g --unsafe-perm node-red

```

run node-red to test:

```auto
node-red

```

Check you can get to it from the outside, and then use ctrl-C to kill it.

5/ IF you want to start at boot:  
Run termux:boot once - it claims start on boot rights the first time you run it.  
termux:boot runs scripts in ./termux/boot/ - create this folder.

for SSH,. I created ./termux/boot/10-ssh.sh containing:

```auto
#!/data/data/com.termux/files/usr/bin/sh
termux-wake-lock
sshd

```

for node-red, I created ./termux/boot/20-nr.sh containing:

```auto
#!/data/data/com.termux/files/usr/bin/sh
node /data/data/com.termux/files/usr/bin/node-red

```

**NOTE** : The shebang in the installed start script 'node-red' is incompatible with termux:boot - for the explanation see [here](https://github.com/termux/termux-boot/issues/47). The above command line apparently overides that, and so works.

6/ Reboot your android device, and confirm that you can access both ssh and node-red.

(I did this on a chinese Teclast T10 tablet (Android 7) with 4G ram and 64G flash - and may likely use it as a pre-configured backup Node-Red as a standby for my Rpi. As well as a browser interface bolted to the wall home control).

br,

Simon

---

_[View the full topic](https://discourse.nodered.org/t/android-termux-playstore-no-longer-a-recommended-install-source/85034)._
