What you’ll learn
- How to select the correct (runtime version)
- The difference between the install command and the startup command
- Common examples for Node.js and Python
- How to use the Startup tab for interactive shell access
Docker Image
Daki runs each server inside a Docker container. The Docker image determines which programming language version is available inside that container. The Startup tab has a dropdown to select the image. Always match it to what your application requires.Install Command
The install command runs once when your server is set up or reinstalled. It is designed for installing dependencies and preparing your environment.
Set this field so that your dependencies are installed automatically. You can customise this command freely to match your project’s needs — for example, if you use a different package manager (e.g.,
yarn install or pnpm install).
Startup Command
The startup command runs every time your server starts. This is the command that actually launches your application.
You are free to customise the startup command to suit your project’s structure, entry point, and any flags or arguments your application needs.
Important: Filenames are case-sensitive. Make sure the filename in your startup command matches exactly what appears in the file manager.
Interactive Shell Access
If you want to interact with the container directly and run commands manually — for example, to debug, inspect files, or run one-off commands — you can temporarily set the startup command tobash.
- Go to the Startup tab.
- Change the startup command to
bash. - Restart your server.
- Open the Console tab — you can now type shell commands directly.
Changing the Egg (Programming Language)
The egg defines the overall programming language and framework. To switch from one language to another (e.g., Node.js → Python), use the Settings tab — not the Startup tab. Changing the triggers a reinstall; backups are strongly recommended beforehand. See Server Settings.Tips
- Restart your server after changing any setting in the Startup tab for changes to take effect.
- If your server crashes immediately after starting, the Console tab output almost always shows why.
- Double-check filenames in your startup command against what appears in the file manager.
Next Steps
- Environment Variables — Set up a
.envfile for your bot token and other secrets. - Console & Power Actions — Start your server and view output.
- Server Settings — Reinstall your server or change the egg.