Open the Terminal
Navigate to the Infrastructure Dashboard
Click Settings > Infrastructure Dashboard and find the container for the environment you’re working in (production, staging, development).
Expand the container details
Click the container row to expand it. You’ll see status, resource usage, and a Open Terminal button.
Terminal Status Indicator
Every container shows whether terminal access is supported:| Status | Meaning |
|---|---|
| Yes (green) | Terminal is supported on this container |
| No (red) | Legacy container image — no terminal support |
| Checking | Hiveku is inspecting the container |
| Unknown | Status couldn’t be determined — try refreshing, or redeploy |
Common Tasks
Once you’re in the shell, you have a full userland. Some typical things you’ll do:Add or update packages
Run scripts
Follow logs
Inspect env vars
Check the runtime
Persistence
For reliable persistence, install packages through your project’s dependency manifest:package.jsonfor Node projectsrequirements.txtorpyproject.tomlfor Pythongo.modfor Go
npm install <package>, the added dependency in package.json survives restarts. The node_modules directory is rebuilt from that manifest on every fresh container.
Files you edit in the terminal sync back to Hiveku’s file system in real time. Your code editor reflects changes you make with
vim, nano, or sed immediately — and vice versa.Security
Terminals are scoped to your project and gated on your Hiveku auth token. Key guarantees:- Only project collaborators with the right role can open a terminal
- Sessions are logged for audit purposes
- The container runs as a non-root user —
sudois intentionally unavailable
Verify the Terminal Works
Run a quick sanity check
Type
whoami && pwd && ls. You should see the container user, the project working directory, and a listing of your project files.Troubleshooting
Terminal not supported (legacy container)
Terminal not supported (legacy container)
Your project was deployed on an older container image. Redeploy the project from the Hosting page — the new deployment pulls a current image with terminal support.
Terminal disconnects mid-session
Terminal disconnects mid-session
Usually a network hiccup or an idle timeout. Click Reconnect — your container state is preserved, you just need to re-establish the session. Long-running processes in the background (e.g.,
tail -f) are killed when the terminal disconnects — use nohup or screen alternatives aren’t installed by default.'command not found'
'command not found'
The tool isn’t installed. For language-level tools (
npm, pip, go), they’re pre-installed for your stack. For system utilities, install what you need via your package manifest. apt may be available but changes won’t persist — install at the project level instead.Permission denied / no root
Permission denied / no root
Expected — the terminal runs as a non-root user. You can’t
sudo and can’t write to system directories. Write inside your project directory or /tmp (for the session).Changes aren't showing in the code editor
Changes aren't showing in the code editor
Give it a second — sync is fast but not instant for large files. If a file you edited in the terminal still shows the old content in the editor, close and reopen the file.
What’s Next?
View Deployment & Runtime Logs
Debug what’s happening in production
Environment Variables
Configure secrets and runtime config