In your app → Console you type a command and we run it in the live version's folder, as your app's user and with its environment variables. You see the output as it arrives and the exit code.
Examples
npx prisma migrate deploynpm run seednode scripts/clear-cache.js
- Each command can run for up to 10 minutes.
- Commands from the session stay in a history: click one to repeat it, or use ↑ and ↓ in the field.
- Anything written to the app's disk is lost on the next deployment, except what's in DATA_DIR.
It's not an SSH terminal: there's no root access and no interactive programs. To watch what happens in real time, use Logs.
Ask the assistant
Still have a question about this? Ask the assistant.
Was this article helpful?
Related articles
- MySQL database for your Node.js appCreate one in a click: we show the connection details once and give you a ready DATABASE_URL.
- Logs and metrics for your Node.js appWhat your app writes to the console, live, plus CPU and memory charts with your plan's limit.
- Create your first Node.js app from GitHubConnect your repository, pick the branch and we'll put your app online with HTTPS in minutes.