5050cloud

5050 login

Log the CLI in to a 5050cloud console and store an API token.

Usage

5050 login [URL]

Flags

FlagMeaning
--token TOKENStore this API token instead of opening the browser (for servers and CI)
--browserlessPrint the login link and code instead of opening a browser

Details

  • Without --token, the CLI starts a device login: it opens URL in your browser, you approve the code shown in the terminal, and the CLI stores the token it receives.
  • Tokens live in ~/.config/5050/config.json (mode 0600), one per console URL, so you can log in to several installs.
  • In CI, skip login and set FIFTY_URL and FIFTY_TOKEN instead.

Examples

5050 login https://console.example.com
5050 login https://console.example.com --token 5050_xxxxxxxx

Railway equivalent

railway login works the same way through the railway alias.

Every command also accepts the global options.

View as Markdown · Edit this page