Which shell does Line CLI use to run commands on Windows?
On Windows, Line runs commands with PowerShell. On macOS and Linux it uses sh.
What this means for you#
- Commands like
npm test,cargo buildorgit statuswork the same. - Unix-only commands (
grep,sed,rm -rf) may not exist in PowerShell. Line normally uses its own built-in tools for reading, searching and editing files, so this rarely matters. - If you want Line to use a specific command style, say so in your
LINE.md: "We're on Windows; use PowerShell commands."
Plugins on Windows#
Plugins can define a separate command_windows for PowerShell. See Plugins.
Related articles
Still need help?
Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.
Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyzFor deleting your whole account or the data of one service.