Back

Appwrite Login Self-Hosted: error: unknown option '--endpoint'

  • 0
  • Self Hosted
  • Tools
_alnes_
21 Aug, 2024, 09:23

Ive installed the latest appwrite-cli via npm.

But if i try to login:

appwrite login --endpoint https://appwrite.vezept.de/v1

i get the error:

error: unknown option '--endpoint'

TL;DR
Developers are having trouble logging in with the Appwrite CLI self-hosted using the '--endpoint' option. This option only works on the newest CLI version, which is unreleased. To fix this, use the command `appwrite client —endpoint xxx`, then `appwrite login`.
Joshi
21 Aug, 2024, 09:26

AFAIK "--endpoint" only works on the newest CLI which is not released yet

ideclon
21 Aug, 2024, 09:50

The command for the current version of the CLI is appwrite client —endpoint xxx, then appwrite login.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more