Skip to content
Luna
Esc
↑↓navigate↵open⌘Jpreview
On this page

luna signup

Make a Luna account in your browser and log this machine in to it.

luna signup opens Luna’s sign-up page in your browser, waits while you make your account there, and logs this machine in to it.

luna signup

Reference

luna signup [OPTIONS]
Option Type Default Does
--no-browser flag Off Prints the address to open and leaves the browser alone.

Good to know

  • The command prints a code. Check that the page in your browser shows the same code, then sign up there.
  • You type your password in the browser. It never passes through the CLI.
  • The code expires after 10 minutes. Run luna signup again to get a new one.
  • On a machine with no screen, the command prints the address for you to open elsewhere. Setting LUNA_NO_BROWSER to anything but 0 does the same as --no-browser.
  • The login is saved in ~/.luna/credentials.json, which only your user can read. It is an account key, and luna tokens list --account shows it.
  • Your new account is in no organisation yet. Make one next with luna orgs create.

Examples

Sign up from a machine without a browser

luna signup --no-browser

Make your first organisation

luna orgs create Acme

Was this page helpful?