nsc login
Login to Namespace to access Namespace Instances, Remote Builders, etc.
login authenticates the nsc CLI to use Namespace products. The CLI opens
a browser where you need to select a workspace to
complete the login flow.
Usage
nsc login [--browser] [--session]Example
$ nsc login
Login to Namespace
Please complete the login flow in your browser.
https://cloud.namespace.so/login/workspace?id=<id>
You are now logged in, have a nice day.Afterward you can start using the nsc CLI to create ephemeral instances, build
container images, run containers or previews.
Options
--browser
Open a browser to complete the login flow. Enabled by default (--browser=true). Pass --browser=false to skip opening a browser; nsc still prints the login URL so you can open it manually.
--session
Creates a long-lived, revocable session. Enabled by default. Sessions can be managed under cloud.namespace.so/user/sessions. Pass --session=false to log in without creating a persistent session.

