Install, run and update awe
This is the reference page for putting awe on a computer and keeping it running: what it needs, the ways to install it, what is in the install folder, how to start and stop it, ports and settings, updates, and how to remove it. If you only want to get going, read getting-started.md first.
awe ships ready to run. Nothing is built from source, and the bundle carries its own runtime.
What you need
| Requirement | |
|---|---|
| Mac | macOS 13.5 (Ventura) or later, Apple chip or Intel. The installer stops on anything older, before it changes anything. |
| Linux | x64 or ARM64. curl, tar, and sha256sum or shasum for the one-line installer. systemd is used for start at sign-in when it is present. |
| Windows | Windows x64, PowerShell. |
| Disk | The download is roughly 350 MB (about 500 MB on Windows) and unpacks to more. The installer refuses to start with less than 300 MB free. |
| Account | An awe account, so your texts reach this computer. You get one by texting awe. |
Two things are optional but most people want them: Google Chrome with the awe extension (for errands on websites, see awe-extension.md), and on a Mac the awe app (it holds the permissions that let awe use the apps on your Mac).
Ways to install
Every path ends the same way: open your personal install link on that computer and tap Connect this computer. awe texts or emails you that link when you sign up. No link yet? Text awe and say “email me the install link”.
Mac: the awe app
- Download awe for Mac from awe.run/download.
- Open it, drag awe to Applications, and open awe.
- It downloads the rest and sets itself up in
~/awe.
Mac or Linux: one line in Terminal
curl -fsSL https://awe.run/install.sh | bash
This picks the bundle for your computer, checks it against the published checksums, unpacks it into ./awe in the folder you are in, and runs the installer inside it. It refuses to run if that folder already exists.
| Variable | What it does |
|---|---|
AWE_INSTALL_DIR=~/awe |
Install somewhere else (default: ./awe in the current folder). |
AWE_VERSION=0.6.62 |
Install a specific release (default: the latest). |
AWE_CONNECT=<token> |
Connect this computer to your account while installing. |
AWE_KEEP_DOWNLOAD=1 |
Keep the downloaded bundle instead of deleting it. |
AWE_SKIP_SETUP=1 |
Unpack only. Run bash install-prebuilt.sh in the folder later. |
On a server with no screen, pass --headless: the browser is not opened, and on Linux the service is set to keep running when nobody is signed in.
curl -fsSL https://awe.run/install.sh | bash -s -- --headless
Windows: one line in PowerShell
irm https://awe.run/install.ps1 | iex
This downloads the Windows bundle, checks it, unpacks it into .\awe in the current folder and runs install.bat inside it. Set $env:AWE_INSTALL_DIR, $env:AWE_VERSION or $env:AWE_CONNECT first to change where, which release, or to connect while installing. The engine is not signed yet, so Windows SmartScreen may warn on first run: choose More info, then Run anyway.
Download a bundle yourself
awe.run/download lists a bundle for each platform and a SHA256SUMS file to check it against. Unpack it, then run the installer inside:
- Mac and Linux:
./install-prebuilt.sh(add--headlesson a server) - Windows: double-click
install.bat
What the installer does
- Creates
.envfrom.env.exampleand writes this folder’s path into it. - Picks a port for the console: 8765, or the next free one if another awe already uses it. An upgrade keeps the port the install already had.
- Starts awe and sets it to start when you sign in.
- Mac and Linux: puts an
awecommand in~/.local/bin(the terminal chat, see awe-cli.md) and adds the install folder to your shell profile’sPATH. - If Chrome is already on the computer, asks Chrome to offer the awe extension the next time it starts (Mac and Windows). Set
AWE_NO_EXTENSION_OFFER=1before installing to skip that. - On a new install, turns on
AWE_CHANNEL_ALLOWLIST_ENFORCE=1, so a chat app you connect later ignores everyone until you list who may talk to it. See messaging.md. - Writes a full transcript to
.awe/install.log.
What is in the install folder
Everything awe needs, and everything it knows about you, lives in this one folder. Commands in these docs are written as run from inside it.
| Path | What it is |
|---|---|
awe-core, awe-hook-bin |
The engine and its small helper for coding tools (.exe on Windows). |
do, awe, oi |
The launcher: ./do "..." runs one request (do.cmd on Windows). |
bin/awe-cli |
The terminal chat that the awe command opens. |
start-awe.sh, stop-awe.sh, open-gateway.sh, uninstall-awe.sh |
Start, stop, reopen the console, uninstall (Mac and Linux). |
install-prebuilt.sh, install.bat |
The installer. Safe to run again. |
.env, .env.example |
Your settings, and the template that documents every setting. |
.node/ |
The bundled Node runtime. awe never uses the system one. |
MCP-servers/ |
The console (awe-console) and the tool servers that ship with awe. |
skills/, templates/, scripts/ |
Skills, templates and helper scripts. |
extension/ |
A copy of the awe browser extension and the list of sites it works on. |
onnxruntime/, .fastembed_cache/ |
What memory search needs to understand meaning, not only keywords. |
AGENTS.md |
The operating manual that AI agents working in this folder read. |
Your data:
| Path | What it holds |
|---|---|
memory.db |
What awe remembers. |
awe-core.db |
Connected tools, schedules, routing, turn records. |
board.db |
The task board. |
MCP-servers/awe-console/gateway.db |
Console chats and console settings. |
.awe/ |
Logs, the working area, sign-ins, saved keys, checkup and doctor reports. |
backups/ |
Snapshots taken before each update, and daily database copies. |
To back awe up, stop it and copy the whole folder.
Start, stop and check
Mac and Linux:
./start-awe.sh # start everything
./stop-awe.sh # stop everything
./open-gateway.sh # open the console in your browser again
stop-awe.sh refuses to stop awe in the middle of an answer or while a text is on its way out. Wait for it to finish, or force it with AWE_FORCE_STOP=1 ./stop-awe.sh.
Windows (from the install folder):
.\awe-core.exe service start
.\awe-core.exe service stop
.\awe-core.exe service status
The same commands exist on every platform:
./awe-core service start --no-browser
./awe-core service stop
./awe-core service status
./awe-core service install
./awe-core service uninstall
service install sets awe to start when you sign in, and service uninstall removes that. The installer has already run it for you.
Three processes make up a running awe: the console (the web UI and the link to your phone), the daemon (memory), and the worker (reminders, schedules, updates). The console starts the other two if they are not running.
Start at sign-in
| Platform | What the installer registers | Where |
|---|---|---|
| macOS | A login item named run.awe.console.<id> |
~/Library/LaunchAgents/ |
| Linux | A systemd user unit named awe-console-<id>.service |
~/.config/systemd/user/ |
| Windows | A scheduled task named AweConsole_<id> that runs at logon. If that needs an administrator, a per-user startup entry with the same name is used instead. |
Task Scheduler |
<id> is derived from the install folder’s path, so two installs never share a name. On Linux without a working systemd user session, awe does not start at sign-in: run ./start-awe.sh yourself.
Is it healthy?
./awe-core checkup --quick
This looks at every part and prints one line per check: ✓ passed, ✗ failed, or a dash for skipped. Without --quick it tries each feature for real, which includes sending one test text to your own phone. More tools are in troubleshooting.md.
Ports
Everything listens on 127.0.0.1 only. Nothing is reachable from another computer.
| Port | What | Change it with |
|---|---|---|
| 8765 | The console: web UI, simple chat at /simple, and the OpenAI-compatible API |
WEB_PORT in .env |
| 8766 | The core HTTP API, see core-http-api.md | Fixed |
| 8767 | A standalone copy of the memory map. Optional: the same map is in the console under Memory | BRAIN_PORT |
| 8768 | awe One, an alternative web shell. AWE_ONE_DISABLE=1 turns it off |
AWE_ONE_PORT |
| 8770 | The “web” chat channel, only when you turn that channel on | AWE_WEB_CHANNEL_PORT in .env |
| 8787 | MCP over HTTP, only when you start it yourself, see mcp-host.md | --port |
To move the console to another port, set WEB_PORT in .env, then stop and start awe. Do not pick 8766, 8767 or 8768.
Settings
Settings live in .env in the install folder. .env.example beside it describes every one. You can edit the file by hand or in the console under Settings → Environment, which also has a Restart gateway, worker & daemon button. Most changes need that restart.
One rule decides who wins when a setting is given in more than one place: the environment of the process, then .env, then a setting saved in the console.
The ones people touch most:
| Setting | What it does |
|---|---|
AWE_TOKEN, AWE_USER_ID |
Your account. Connect this computer fills them in. Without them, commands answer “Not connected to awe”. |
AWE_PROJECT_PATH |
The install folder. The installer sets it. |
WEB_PORT |
The console’s port. |
START_AIGATEWAY |
1 (default) starts the console with awe. 0 leaves it off. |
AWE_AUTO_UPDATE |
When updates install, see Updating. |
AWE_DESKTOP_HANDS |
Lets awe use the apps on this computer. On unless 0 on a Mac. On Windows and Linux it is on only when 1, and those installers set it. Linux needs a GNOME or KDE Plasma desktop on Wayland. See errands.md. |
AWE_CHANNEL_ALLOWLIST_ENFORCE |
1 makes a connected chat app ignore anyone you have not listed. New installs turn it on. |
AWE_GATEWAY_SHELL_MODE |
Which tools the AI may use in console chat: restricted, verify or full. |
ORT_DYLIB_PATH |
Where the ONNX Runtime library is. The installer sets it. Without it, memory search falls back to keywords only. |
CLAUDE_BIN |
Full path to the claude command, if you use Claude through its CLI and it is not in a standard place. |
ANTHROPIC_API_KEY, OPENAI_API_KEY, and the other provider keys |
Only if you bring your own AI provider. Easier to enter under Settings → LLM/Model. |
AWE_LOG_MAX_MB |
Size at which .awe/system.log is trimmed (default 5). |
DEBUG |
Any value turns on noisy diagnostics. Use briefly. |
Keys for chat apps (Telegram, Slack, Discord and so on) are covered in messaging.md. Google and other sign-ins are covered in connections.md.
Choosing the AI model
Open the console and go to Settings → LLM/Model. Each provider has a card. Pick one, choose a model, add a key if it needs one, and save. The active provider is shown at the top of the page.
| Provider | What you need |
|---|---|
| awe LLM | A connected awe account. The card shows what your plan includes and how much you have used. Connecting the computer selects it when no other provider has been chosen. |
| Claude CLI | The claude command installed and signed in with your Claude subscription. |
| Kimi Code CLI | The Kimi command installed and signed in. |
| Anthropic API, OpenAI, Google Gemini, Groq, DeepSeek, xAI, Mistral, Kimi (Moonshot API), OpenRouter, Fireworks, Together | An API key from that provider. |
| Ollama, LM Studio | That app running on this computer. |
| awe Local | Nothing. awe downloads a model you pick and runs it on this computer with its bundled llama.cpp. The card suggests models that fit your hardware. |
| Custom | The address of any OpenAI-compatible server. |
Running more than one install
Each folder is a complete, separate awe with its own settings, memory and data. The installer gives a second install the next free console port and its own start-at-sign-in entry.
There are limits when two run at the same time. Ports 8766, 8767 and 8768 are shared, so only the install that started first gets its core API and extra pages; the second runs without them. Give the second install its own BRAIN_PORT and AWE_ONE_PORT if you need those pages. One install link connects one computer, so each install needs its own link.
./stop-awe.sh /path/to/other/install stops a different install than the one you are in.
Updating
By default awe installs updates by itself, at night. It checks every 6 hours. When a new version is out, it installs between 2 and 5 am on your clock, as long as nothing has been said to awe for 30 minutes. A night it misses waits for the next one. A security update installs at the next quiet moment, at any hour. Afterwards awe texts you one line saying it updated and what is new. If an install does not finish, awe stays on the version it had and the simple chat says so at the top.
To update yourself instead, open the simple chat, tap +, and switch Install updates automatically to Off. A new version then shows at the top of the simple chat with an Update now button, and the console shows a banner that leads to System → Updates.
AWE_AUTO_UPDATE in .env sets the policy:
| Value | Behaviour |
|---|---|
not set (or quiet, night, auto) |
Install at night while awe is quiet. The default. |
on |
Install as soon as awe is quiet, at any hour. |
notify |
Check and tell you. Never install by itself. |
forced-only |
Install by itself only when an update is marked as a security update. |
off |
Never check. ./awe-core update also refuses to install until you remove this. |
A cloud awe is never updated this way: awe updates those itself. A developer checkout is never updated unattended either.
On Windows, updating in place needs awe 0.6.62 or later. An older Windows install has to be reinstalled once.
Update commands
./awe-core version # the version you are on
./awe-core update --check # is there a newer one? changes nothing
./awe-core update # install the latest now
./awe-core update --dry-run # download and check the new version, install nothing
An update does this, in order: downloads the release, checks it against its published checksum (and refuses if there is none), takes a snapshot of your databases and the engine into backups/pre-update-<version>-<time>/, stops awe, swaps the engine and the launcher scripts, updates the parts awe owns (its own servers, the console, the extension copy, the operating manual), adds any new settings to .env without changing the ones you have, and starts awe again. Progress is written to .awe/update.log.
Third-party tool servers that hold your sign-ins (Gmail, Microsoft 365 and a few others), the shipped skills and the scripts are not touched by an automatic update. Update those when you choose:
./awe-core update --components # pick from a menu
./awe-core update --components --dry-run # list what differs, change nothing
./awe-core update --components --all # take everything
./awe-core update --components --select 1,3 # take items 1 and 3 from the list
The console has the same thing under System → Updates: Check Now, Install Update, Rollback, Check Components and Apply Selected. Before replacing a component, awe saves the current copy to backups/pre-component-update-<time>/.
What an update never touches
- Your databases:
memory.db,awe-core.db,board.db,gateway.dband any other.dbfile. The updater refuses to copy over one. .envvalues you already have. New settings are added; none are changed or removed..awe/,backups/,memory/andscreenshots/.- Inside a component that is replaced: its own
.env, any database, and itsconfig/folder are kept. - Tool servers you added yourself.
- A hand-edited
AGENTS.mdis kept beside the new one asAGENTS.md.pre-update.
Going back
./awe-core update --list-backups # what you can go back to
./awe-core update --rollback # engine and databases, from the newest backup
./awe-core update --rollback-binaries # engine only, keep today's data
./awe-core update --rollback-db # databases only, keep the new engine
./awe-core update --rollback-from <backup-id> # a specific backup from the list
A rollback stops awe first. Start it again afterwards with ./start-awe.sh. Rolling back databases returns them to the moment of the backup, so anything awe learned since then is lost. A backup is checked before it is restored. If a database in it is newer than the engine in it can read, restoring databases is refused and says so; --rollback-binaries is still available.
Backups are not removed for you. Each one holds a copy of your databases, so they add up:
./awe-core update --pin-backup <backup-id> # never remove this one
./awe-core update --clean-backups # keep the newest three and anything pinned
Apart from update snapshots, awe keeps daily copies of its databases in backups/ (seven days for the console’s, five for awe-core.db, three for memory.db).
Do not unpack a bundle over an install
A downloaded bundle is for a new install. It carries a fresh, empty awe-core.db, so unpacking it on top of a folder you already use would replace yours and lose your connected tools and schedules. To get a newer version, use the updater.
Moving awe to another computer
A member can move between a cloud awe and a Mac, see cloud-and-mac.md. The move packs memory, notes, skills, schedules and settings. It never carries .env, keys or sign-ins: you sign in to those again on the new computer.
Uninstalling
Mac and Linux:
./uninstall-awe.sh --dry-run # show what would be removed, change nothing
./uninstall-awe.sh # show it, then ask before doing anything
./uninstall-awe.sh --yes # do it without asking
./uninstall-awe.sh --yes --all # also remove what every awe install on this computer shares
It removes this install only: its start-at-sign-in entry, everything running from the folder, the awe command if it points here, and the lines it added to your shell profile. The folder itself is moved to the Trash, not deleted, because it holds your memory.
--all also removes ~/.awe, Chrome’s offer to install the extension, the awe app, and the saved-logins key in your keychain. That last one cannot be brought back.
It does not touch settings awe added to coding tools with ./awe-core mem setup --global (remove those entries by hand), or the extension if you installed it (remove it in chrome://extensions). Remove the computer from your account at app.awe.run under your profile’s devices, or the next install on it connects as a second computer.
Windows:
.\awe-core.exe service stop
.\awe-core.exe service uninstall
Then delete the install folder.
Related
- getting-started.md: the short path from sign-up to a working awe
- console.md: a tour of the web UI
- troubleshooting.md: when something does not work
- cloud-and-mac.md: cloud awe, and moving between cloud and Mac
- awe-extension.md: the browser extension
- cli-reference.md: every command