SquidWings

Guide · Linux, macOS, Windows

How to install SquidWings

From a bare laptop to your first chat, with the same commands the app itself suggests. The first build takes about 3 minutes; the rest depends on your download speed.

Updated 5 December 2026 · Source: the README on GitHub

01Get the tools

Required: Python 3.12 or newer (3.14 recommended), Rust 1.92 or newer with a C linker, and git. Go 1.27 or newer is optional, and makes the web pages load about 4 times faster. Keep about 1.5 GB free for the build. Check your Python with python3 --version.

Pick your system. On Linux and macOS, Rust comes from rustup, the Rust project's official installer. When rustup is done, open a new terminal so the cargo command is found.

Ubuntu, Debian
Terminal
$ sudo apt install python3 python3-venv git build-essential
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Fedora
Terminal
$ sudo dnf install python3 git gcc
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Arch Linux
Terminal
$ sudo pacman -S python git base-devel
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
macOS
Terminal
$ xcode-select --install
$ brew install python git
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Windows (PowerShell)
PowerShell
PS> winget install --id Python.Python.3.14 -e
PS> winget install --id Git.Git -e
PS> winget install --id Rustlang.Rustup -e
PS> winget install --id Microsoft.VisualStudio.2022.BuildTools -e --override "--quiet --wait --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended"

Get Go from go.dev/dl: the Go package in some Linux distros is still older than 1.27. Not sure what is missing? Go straight to step 2. Setup checks everything and names the install command for your system (apt, dnf, pacman, zypper, apk, Homebrew or winget).

02Get the code and run setup

Linux and macOS
$ git clone https://github.com/zynxx24/SquidWings.git
$ cd SquidWings
$ ./linux.sh setup   # Windows: windows.bat setup

Setup checks the tools, creates .venv, installs the Python packages (with uv when it is there), then builds the Rust core, the Rust worker and the Go gateway on every CPU core. When something is missing, setup stops and names it. Install it, then run setup again.

OptionWhat it does
--checkOnly checks, installs nothing
--no-buildLeaves the build to the first start
--addon tradingInstalls the trading add-on too

Not using git clone? A ZIP download from GitHub works too. On the first start the folder is linked to the repository so automatic updates keep working, so git still has to be installed.

03Check the result

Terminal
$ ./linux.sh check   # Windows: windows.bat check

This only checks: each tool's version, and whether the compiled parts are up to date. Here is the real output on the developer's laptop (the tool speaks Indonesian):

./linux.sh check
Alat:
  [OK   ] Python: 3.14.5 (perlu 3.12 atau lebih baru) - agent, model AI, dan server web
  [OK   ] git: 2.43.0 (perlu versi apa saja) - mengambil versi terbaru SquidWings dan skills dari GitHub
  [OK   ] Rust (cargo): 1.96.0 (perlu 1.92 atau lebih baru) - inti harness dan worker untuk dokumen, PDF, OCR, dan pencarian file (wajib sejak migrasi)
  [OK   ] C linker: cc 13.3.0 (perlu cc, gcc, atau clang) - linker yang dipakai Rust
  [OK   ] Go: 1.27.4 (perlu 1.27 atau lebih baru) - gateway web yang lebih cepat (tanpa Go, server Python jalan sendiri)
  [OK   ] Ruang build (/tmp): 10.9 GB kosong (perlu 1.5 GB) - folder sementara tempat Rust dan Go dibangun (dihapus setelah selesai)

Bagian yang dikompilasi (dibangun otomatis oleh launcher):
  [OK   ] Inti Rust harness: terbaru
  [OK   ] Worker Rust: terbaru
  [OK   ] Gateway Go: terbaru

Checkout developer: ya, tidak mengambil dari GitHub
Program untuk video, audio, dan render (ffmpeg, Node, HyperFrames): ./linux.sh tools

Semua yang wajib sudah siap.

The last line should read “Semua yang wajib sudah siap” (everything required is ready). A tool that is not ready is marked, together with the command that installs it.

04Start it

SystemWebWeb + phone linkTerminal chat
Linux, macOS./linux.sh./linux.sh --tunnel./linux.sh chat
Windowswindows.batwindows.bat --tunnelwindows.bat chat

Open http://127.0.0.1:8080. No need to activate the venv: the launcher uses its own .venv.

On every start the launcher stops the old SquidWings session on the same port, pulls the latest version from GitHub, compiles what changed, then runs the web. If the Rust core cannot be built, the launcher stops and names the cause and the install command.

05Connect an AI model

SquidWings ships no model of its own. Use your own provider and API key, or a local model. Two ways:

  1. On the web: open the Router page, then add the provider, URL and API key. The model list is fetched for you.
  2. In a file: copy .env.example to .env, then fill in the two lines below.
.env
API_BASE_URL=https://openrouter.ai/api/v1
API_KEY=your-key
ProviderAPI_BASE_URL
OpenAIhttps://api.openai.com/v1
OpenRouterhttps://openrouter.ai/api/v1
Groqhttps://api.groq.com/openai/v1
9Routerhttp://localhost:20128/v1
Ollamahttp://localhost:11434/v1
LM Studiohttp://localhost:1234/v1

Test the connection with ./linux.sh health. Ollama and LM Studio still need an API_KEY, but any value works.

Keep API keys on the Router page or in .env only. Never paste one into a chat, and never commit .env.

06Optional steps

NeedHow
A sandbox for agent commandsLinux: sudo apt install bubblewrap. macOS and Windows: Docker Desktop
Test the sandbox isolation./linux.sh doctor
Helper programs: ffmpeg, Node.js, cloudflared, Tesseract, Pandoc and more./linux.sh tools install all, no sudo
The trading, video Studio or home Wi-Fi add-on./linux.sh addon install trading
Fuller web researchSearXNG, or BRAVE_SEARCH_API_KEY in .env

Without a sandbox, agent commands are refused. Install bubblewrap or Docker, or set SANDBOX_MODE=off if you accept commands running straight on your system. When the web is opened from outside through a tunnel and there is no sandbox, the tools that run commands are switched off.

07Use it from your phone

Terminal
$ ./linux.sh --tunnel   # Windows: windows.bat --tunnel

This opens a Cloudflare link to your laptop and sends it to Telegram when a bot is set up. cloudflared comes with ./linux.sh tools install all.

A quick tunnel link changes every time cloudflared restarts. To keep the same link across app restarts, run the link keeper as its own process:

Terminal
$ .venv/bin/python main.py tunnel --port 8080   # Windows: .venv\Scripts\python main.py tunnel --port 8080

On Linux, make the keeper a systemd user service so it keeps running. The README has an example unit file.

A browser on the laptop itself gets in without a login. Other devices need the access PIN from /access, unless the PIN is switched off with REMOTE_PIN=off. With the PIN off, anyone holding the link can use the agent and read the chats, so keep the link to yourself.

08Updates

  • On every start, SquidWings pulls the latest version from GitHub. While it runs, it checks again every 30 minutes.
  • Updates only fast-forward. Files you changed are not overwritten, and .env and chat data are never touched.
  • Update now with ./linux.sh update. Switch it off with AUTO_UPDATE=false in .env.
  • Still on an old Python? Stop SquidWings, then run bash scripts/upgrade_python.sh. The old venv comes back by itself if any step fails.

09When something goes wrong

SymptomFix
Setup stops because Rust or a C linker is missingInstall them from step 1, open a new terminal, then run setup again
Agent commands are refusedLinux: install bubblewrap. macOS and Windows: start Docker Desktop, or SANDBOX_MODE=off. Then ./linux.sh doctor
The model connection is refusedCheck API_BASE_URL and API_KEY, then ./linux.sh health
Research results are thinInstall SearXNG or set BRAVE_SEARCH_API_KEY
Images or scanned PDFs are not readMake sure DOCUMENT_OCR=true. For very hard scans, OCR_TIER=max
A value in .env is ignoredMove the comment to its own line
“This host is not allowed”Add your own tunnel domain to WEB_ALLOWED_HOSTS
The phone link changes on every restartRun the link keeper (step 7)
No Trading or Studio menu./linux.sh addon install trading (or studio), then restart

Still stuck? Open an issue on GitHub with the output of ./linux.sh check and the error message. Remove API keys and personal data from logs before you send them.

Running? Continue with how to use SquidWings.