Skip to content

Does not work on iOS with terminal emulation #7934

@ballestillaortega-design

Description

Describe the bug

Netlify CLI installed with npm install -g netlify-cli but netlify command returns "command not found". Happens on iPhone using iSH app (Alpine Linux), where Node/npm install but global binaries not in PATH. Also occurs on occasional computers after global install – netlify login or netlify deploy fail with same error.

Typical errors: "netlify: command not found", EACCES permissions during global install, or iSH too slow/unresponsive for practical use. Goal is to deploy static/simple projects via CLI from terminal, but it doesn't work.

Steps to reproduce

No netlify.toml present because netlify init cannot be run successfully.

Example for basic static/SPA project if it worked:

[build]
publish = "build"
command = "npm run build" # or empty for pure static

[[redirects]]
from = "/*"
to = "/index.html"
status = 200

Configuration

No netlify.toml present because netlify init cannot be run successfully.

Example for basic static/SPA project if it worked:

[build]
publish = "build"
command = "npm run build" # or empty for pure static

[[redirects]]
from = "/*"
to = "/index.html"
status = 200

Environment

Cannot run full npx envinfo --system --binaries --npmPackages netlify-cli --npmGlobalPackages netlify-cli due to iPhone limitation (no stable full terminal; iSH PATH/global bins broken after install).

Partial info:

  • OS: iOS / iPhone with iSH (Alpine Linux emulated)
  • Node: v20+ (via apk add nodejs)
  • npm: recent version
  • netlify-cli: installed globally (~23.x), but not executable ("command not found")
  • PATH issue: global npm bins not in shell PATH in iSH

Will add full envinfo output from computer if possible later.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugcode to address defects in shipped code

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions