Back

Client information in CLI

  • 1
  • General
  • Tools
Mosh Ontong
17 Aug, 2023, 14:00

how to print or display the client information I have been set in Appwrite cli for example when I just type appwrite client --projectId then it must display the detaisl about it

TL;DR
To display the client information in Appwrite CLI, use the following command: `cat ~/.appwrite/prefs.json`. This will show the information stored in the `prefs.json` file in your home folder. If you want to display the client information for the current folder, look for the `appwrite.json` file instead.
Binyamin
17 Aug, 2023, 14:12

Appwrite CLI holds the information inside your home folder inside .appwrite/prefs.json file You can run

TypeScript
cat ~/.appwrite/prefs.json

For the current folder the option would be inside appwrite.json file

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