All systems operational
Cloudphere
← Documentation

Shell

A live terminal inside your running service, from the console. Run migrations, check files and debug without SSH keys.

Open a shell

Open your service, then Shell. Pick the environment (production, staging or a preview) and choose Open shell. It works on web services and background workers. For databases, use the Query Editor.

Things people run

Laravel
php artisan migrate:status, php artisan tinker, php artisan config:clear
Node.js
npm run, node -e "..."
Python
python manage.py shell, python manage.py migrate
Anything
ls, env, cat storage/logs/laravel.log

Reading the prompt

The prompt shows the service and the current folder, for example shop-backend:/var/www/html$. When a command fails, the next prompt shows a red ✗ and its exit code, so a command that fails silently is still obvious.

Limits

Good to know

Changes made in a shell affect the live service immediately. Take care in production.