The SSH Experiment, which is available for Homey Pro (Early 2023), allows you to play around in a containerised Debian Linux sandbox.
After logging in for the first time, and changing your password, these commands may help you get started.
Installing Node.js
The following commands install the latest Node.js LTS (Long Term Support) version.
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash
Log out, then log back in again.
$ nvm install --lts
$ node --version # Print the installed Node.js version
Installing Homey CLI
First, install Node.js as above. Then run:
$ npm install --global homey
$ homey --version # Print the installed Homey CLI version
Copying your SSH Key
To make logging in easier, it's recommended to copy your Mac/PCs SSH key to the sandbox.
Execute on your Linux PC or Mac:
$ ssh-copy-id homey@homey-abcdef.local # Replace abcdef with your Homey Pro's ID.
On Windows, please refer to your SSH client's manual.