Skip to main content

sf login

Login state is written to ~/.forge/ (permissions 0600). The browser flow uses OAuth + PKCE; when the platform is configured with OIDC (e.g. Casdoor), it automatically redirects to single sign-on.

Console login. The same page is used when sf login opens a browser.

sf logout

Revokes the refresh token and clears the local login state.

sf status

Outputs: current account and role, quotas (concurrent GPUs / jobs / daily GPU-hours), current usage, available hardware profiles, and the list of active jobs. Checking the watermark before submitting is a good habit.

sf login

Log in to StarForge