1

Make It Executable

The downloaded file does not have permission to run yet. Grant it once, from wherever you downloaded it.

$ chmod +x general_cli

The file has to be named exactly general_cli to run. If you renamed it while downloading, it will offer to rename itself back the first time you run it.

2

Move It Into Your Project

Place general_cli directly inside the root of the project you want to deploy, the same folder as your code.

$ mv general_cli /path/to/your-project/

It stores your login in memory only, never in a file next to your code, and adds itself to .gitignore automatically so it never gets uploaded with your project.

3

Run It

From inside your project directory, run it with no arguments.

$ ./general_cli

The first time you run it, your browser opens so you can sign in with your General Infinity account. After that it asks two plain questions right in the terminal: whether to upload the current project, and whether to pick a deploy target for it. Answer yes to both to finish your first deployment.

To push an update later, run the exact same command again from the same project directory. It remembers who you are for the rest of that session.