Install OctoBot on Raspberry Pi
After installation, OctoBot starts in node mode and opens its node interface. From there you can:
- Run automations configured and monitored from the new OctoBot interface or the mobile app (recommended for most users).
- Launch manual OctoBots with their own interface, deeper configuration and the backtesting engine (for expert users).
See the getting started guide for setup steps, or the connect guide if you have connection issues.
If this is your first OctoBot, install and connect on your PC first using the getting started guide. Complete the On this computer flow on localhost before moving the node to your Raspberry Pi.
1. Preparing the Raspberry Pi
- Install Rapberry OS and configure it.
- Enable
sshas it will be essential for accessing the Raspberry remotely from a local network - Create a new user or use the default one and change the password to use a strong password.
2. Install OctoBot
- On the Octobot latest release page, download the
OctoBot_linux_arm64file: this is the Raspberry Pi x64 compatible version of OctoBot.
-
Copy the file to the
/home/pi/folder
Note: herepiit is the folder of thepiuser (default user). -
To facilitate this process (when using Windows), you can use WinSCP: it has a graphical interface and works like the Windows “file explorer”. It will also be easier to later edit your Raspberry Pi files.
-
Connect to Raspberry through a terminal using the following command:
ssh pi@192.168.1.XXreplacepiby your Raspberry username and192.168.1.XXby your Raspberry IP address and enter the password you created in setp 1. -
After logging on to the Raspeberry it is necessary to make the file “OctoBot_linux_arm64” into an executable. To do this, still from the terminal, type this command:
sudo chmod +x OctoBot_linux_arm64 -
Done. Nothing else is needed!
3. Run OctoBot
-
To run OctoBot, use the terminal from the previous step or open a new one and go to the folden containing the OctoBot executable and type in
./OctoBot_linux_arm64
OctoBot starts and creates the necessary folders the first time it runs. -
On the Raspberry Pi itself, open the node interface at http://localhost:8000/. From another device on your LAN, do not use plain HTTP to the Pi IP. Use HTTPS (for example Tailscale MagicDNS) when you connect new.mobile.octobot.cloud or the mobile apps. See Connect your node to the new interface.
-
Press
Ctrl-AthenCtrl-D. This will detach your screen session but leave your OctoBot process running. You can now close the terminal.
After install: Initialize your OctoBot and start your first automated strategy with a risk-free virtual account.
4. Starting OctoBot automatically
You might want OctoBot to start automatically when starting your Raspberry Pi.
To start OctoBot automatically after restarting Raspberry Pi, proceed as follows.
Still from a terminal:
- Type in the following command:
crontab -e - Add the following line at the end:
@reboot /home/pi/OctoBot_linux_arm64wherepiis your username - Save
In the event of a power outage, your Raspberry Pi will automatically restart your OctoBot and continue executing its configured strategies.
Also, every time your Raspberry Pi starts up, it will run Octobot and you will be able to access it from your browser.
Initialize your OctoBot
After installation: Starting your OctoBot
- Open the node setupOctoBot runs on another computer at home (your desktop, a Raspberry Pi, etc.). On the computer where OctoBot is running, open
http://localhost:8000. - Set up your node walletOn the node, create or import your node wallet to secure your node and its data. This wallet is not a cryptocurrency wallet, do not use a crypto wallet private key and never share your private key with anyone.
- Connect your Node to your OctoBot interfaceGo to the Connect your Node to your OctoBot interface step (or Settings → Connect → Web tab) on your node's interface, from your node's computer. On your other device, open new.mobile.octobot.cloud. I already have a wallet → I already have a private key. Paste Copy your private key from this node. Then new automation → any type → Add a node → Existing install. Hostname: the IP your node shows (not localhost). Port: 8000 (or what the node shows). Click Save when the checks turn green. Still Unreachable? Check our connection troubleshoot.
- Launch your first OctoBotOn new.mobile.octobot.cloud, leave demo mode on (default for risk-free simulated trading). Add an exchange account with 1000 USDC (or the crypto of your choice). Start a new automation (for example a Grid on BTC/USDC, if you added USDC to the demo account) and follow your automation from your OctoBot interface.
- Your node is now executing your strategyWhen you start an automation, the node runs it on its computer. You do not need to keep the browser tab or app open. Just leave the OctoBot program running so that it keeps trading. You can run as many automations as you want, on most crypto exchanges, with demo and real accounts. When needed, feel free to stop and restart your node, it will resume trading when you turn it back on.
Use new.mobile.octobot.cloud or the iOS or Android app on a regular basis to follow your investments and turn automations on and off. Go back to the node interface at http://localhost:8000 only for configuration, administration, or to connect to a new phone or computer.
Connection problems? Read the Node Connect Guide. If your node shows Unreachable, see connection common issues.