Install the ntfy app on your phone
The ntfy app is what receives the notifications on your device. Search for 'ntfy' in the Google Play Store or Apple App Store and install it. It is free and open source. You do not need to create an account.

ntfy lets you send push notifications to your phone or desktop with a single curl command — no account, no app key, no fees. Use the free public server or run your own.
The ntfy app is what receives the notifications on your device. Search for 'ntfy' in the Google Play Store or Apple App Store and install it. It is free and open source. You do not need to create an account.
ntfy works like a public radio channel. Anyone who knows your topic name can send you messages. Pick something hard to guess — treat it like a weak password. You do NOT register it anywhere; you just start using it. Example: 'mikes-server-alerts-x7q2'. Write it down — you will use it in every step below.
If you pick a short or common topic name like 'test' or 'alerts', strangers may accidentally (or intentionally) send noise to your phone.
Add random characters to the end, e.g. 'alerts-k9x2m'. The public server has no authentication on free topics.
Open the ntfy app on your phone, tap the '+' or 'Subscribe to topic' button, and type in the topic name you chose. Leave the server set to 'ntfy.sh' (the default). Tap Subscribe. The app is now listening for messages on that topic.
This is the core trick: one curl command sends a push notification to every device subscribed to your topic. Replace YOUR-TOPIC-NAME with the name you chose in Step 2. Run this from any computer that has internet access.
curl: command not found on Windows (outside WSL).
Open PowerShell and run: curl.exe -d "Hello from my computer!" ntfy.sh/YOUR-TOPIC-NAME — Windows 10/11 ships curl.exe natively in PowerShell.
ntfy supports extra headers that control how the notification looks. You can set a title, an urgency level (1=min, 3=default, 5=max), and an emoji tag that appears as an icon. This is useful when you want different alerts to look different at a glance.
Multi-line curl commands with backslashes fail on Windows Command Prompt.
Use PowerShell or WSL, or put the whole command on one line separated by spaces.
The real power is automation. Paste the curl line at the end of any shell script — a backup job, a cron task, a server health check — and you get a phone alert every time it runs. Here is a minimal example that notifies you when a file finishes downloading.
The free ntfy.sh server rate-limits to roughly 250 messages per day per visitor IP.
For high-volume use, self-host ntfy on your own server. See https://docs.ntfy.sh/install/ — it runs as a single binary or Docker container.
You can send a push notification to your phone from any terminal in the world with a single curl command, and you can embed that command in any script to get automatic alerts for backups, downloads, server events, or anything else.
The free ntfy.sh public server is convenient but your topic name is the only protection — there is no password on free topics. Anyone who guesses your topic name can read or send messages. For sensitive alerts (server passwords, personal data), either use a hard-to-guess topic name or self-host ntfy with access control enabled. The public server also caps free accounts at 250 messages/day and messages expire after 12 hours. Self-hosting removes all these limits but requires a server you control.