[{"data":1,"prerenderedAt":132},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fv2\u002Fcli\u002Flogin":3},{"id":4,"title":5,"body":6,"description":16,"extension":125,"meta":126,"navigation":127,"path":128,"seo":129,"stem":130,"__hash__":131},"docs\u002Fdocs\u002Fv2\u002Fcli\u002Flogin.md","axon login",{"type":7,"value":8,"toc":122},"minimark",[9,13,17,40,62,89,99,103,115,118],[10,11,5],"h1",{"id":12},"axon-login",[14,15,16],"p",{},"Authenticate this machine.",[18,19,24],"pre",{"className":20,"code":21,"language":22,"meta":23,"style":23},"language-bash shiki shiki-themes dark-plus","axon login\n","bash","",[25,26,27],"code",{"__ignoreMap":23},[28,29,32,36],"span",{"class":30,"line":31},"line",1,[28,33,35],{"class":34},"sCudf","axon",[28,37,39],{"class":38},"sKc5r"," login\n",[14,41,42,43,46,47,54,55,61],{},"Opens a browser to approve, then stores credentials in ",[25,44,45],{},"~\u002F.axon\u002Fauth.json",". Required before\n",[48,49,51],"a",{"href":50},"\u002Fdocs\u002Fv2\u002Fcli\u002Fdeploy",[25,52,53],{},"deploy"," and ",[48,56,58],{"href":57},"\u002Fdocs\u002Fv2\u002Fcli\u002Fpublish",[25,59,60],{},"publish","; browsing the registry\nand running agents locally need no account.",[18,63,65],{"className":20,"code":64,"language":22,"meta":23,"style":23},"axon whoami     # print the authenticated account\naxon logout     # clear stored credentials\n",[25,66,67,78],{"__ignoreMap":23},[28,68,69,71,74],{"class":30,"line":31},[28,70,35],{"class":34},[28,72,73],{"class":38}," whoami",[28,75,77],{"class":76},"sOLPB","     # print the authenticated account\n",[28,79,81,83,86],{"class":30,"line":80},2,[28,82,35],{"class":34},[28,84,85],{"class":38}," logout",[28,87,88],{"class":76},"     # clear stored credentials\n",[14,90,91,94,95,98],{},[25,92,93],{},"whoami"," is the fastest way to check which identity a publish would go out under, which\nmatters when the scope in ",[25,96,97],{},"package.json"," must be one you own.",[100,101,102],"h2",{"id":102},"update",[18,104,106],{"className":20,"code":105,"language":22,"meta":23,"style":23},"axon update\n",[25,107,108],{"__ignoreMap":23},[28,109,110,112],{"class":30,"line":31},[28,111,35],{"class":34},[28,113,114],{"class":38}," update\n",[14,116,117],{},"Updates the Axon CLI itself. Unrelated to authentication, but it lives here because it is\nthe other thing you do to the installation rather than to a project.",[119,120,121],"style",{},"html pre.shiki code .sCudf, html code.shiki .sCudf{--shiki-default:#DCDCAA}html pre.shiki code .sKc5r, html code.shiki .sKc5r{--shiki-default:#CE9178}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .sOLPB, html code.shiki .sOLPB{--shiki-default:#6A9955}",{"title":23,"searchDepth":80,"depth":80,"links":123},[124],{"id":102,"depth":80,"text":102},"md",{},true,"\u002Fdocs\u002Fv2\u002Fcli\u002Flogin",{"title":5,"description":16},"docs\u002Fv2\u002Fcli\u002Flogin","Y-DdrmaYlDYM4_la9tG70UYi2kzxCGsl-P0dIQ7_eUk",1786899561191]