{"name":"\/login","slug":"login","family":"slash","title":"Slash commands","noun":"slash command","description":"Sign in to your Anthropic account","description_source":"docs","described_by":{"doc":"claude-code\/commands","title":"Commands"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.309","builds":0,"mined_builds":150,"first_cited":{"version":"2.1.33","released_at":"2026-02-06 00:16:13","spans":49}},"aliases":[],"entries":[{"version":"2.1.309","anchor":"artifacts-mcp-server-auto-registered-on-the-laptop-cli","heading":"Artifacts can run through a built-in MCP server in the terminal","line":"Claude Code can set up an Artifacts MCP server itself and use its tools in place of the built-in artifact tool, with preset permissions","released_at":"2026-10-22 20:34:13","reason":"found in this entry's text"},{"version":"2.1.309","anchor":"gateway-restore-now-refuses-a-saved-sign-in-that-has-ended","heading":"Cloud gateway reconnect now stops when your saved sign-in has ended","line":"At startup, Claude Code skips a saved Cloud gateway whose sign-in has ended and tells you to run \/login","released_at":"2026-10-22 20:34:13","reason":"found in this entry's text"},{"version":"2.1.309","anchor":"gateway-restore-now-checks-a-per-gateway-saved-sign-in-and-a","heading":"Enterprise gateways now check the saved sign-in before reconnecting","line":"On startup, Claude Code no longer reconnects to an enterprise gateway whose saved sign-in has ended, and asks you to run \/login","released_at":"2026-10-22 20:34:13","reason":"found in this entry's text"},{"version":"2.1.305","anchor":"sign-in-prompt-when-cloud-session-launched-without-claudeai","heading":"Starting a cloud session without signing in now walks you through \/login","line":"If you start a cloud session without a claude.ai login, Claude Code asks you to run `\/login`, then restarts and starts the session","released_at":"2026-10-20 19:29:36","reason":"found in this entry's text, named in this entry"},{"version":"2.1.305","anchor":"cloud-session-guard-for-slash-commands-only-login-exit-a","heading":"Input is held back with a notice when no cloud session is running","line":"When no cloud session is running, Claude Code can refuse to send or run what you typed and tells you to run \/login","released_at":"2026-10-20 19:29:36","reason":"found in this entry's text"},{"version":"2.1.304","anchor":"remote-session-login-hint-removed-login-handler-takes-a-k","heading":"\/login accepts an argument and drops its cloud-session workaround","line":"The cloud-session tip for `\/login` is gone, and `\/login` now reads an argument and reports when it does not recognise it","released_at":"2026-10-19 19:47:15","reason":"found in this entry's text, named in this entry"},{"version":"2.1.304","anchor":"sign-in-rollback-messages-for-refused-logins","heading":"Claude Code now undoes a refused sign-in and restores your previous login","line":"When a sign-in is refused, Claude Code now restores your previous login and cancels the refused one, or asks you to sign in again","released_at":"2026-10-19 19:47:15","reason":"found in this entry's text, named in this entry"},{"version":"2.1.304","anchor":"cloud-session-bash-unavailable-message-and-file-attach-error","heading":"New messages for local Bash in cloud sessions and for attaching files","line":"New messages explain when this machine's Bash is not offered to a cloud session and when attaching files fails","released_at":"2026-10-19 19:47:15","reason":"found in this entry's text"},{"version":"2.1.304","anchor":"login-hidden-or-refused-in-cloud-sessions-with-a-console-si","heading":"\/login is hidden in cloud sessions where a claude.ai sign-in can't be used","line":"In a cloud session started with a Console sign-in, or where forceLoginMethod requires another method, \/login is hidden and explains why","released_at":"2026-10-19 19:47:15","reason":"found in this entry's text, named in this entry"},{"version":"2.1.304","anchor":"session-expired-message-for-claudeai-sign-in","heading":"Clearer message when a session's claude.ai sign-in stops working","line":"Claude Code now says when the claude.ai sign-in a session was using is no longer usable, and tells you which command to sign in again with","released_at":"2026-10-19 19:47:15","reason":"found in this entry's text, named in this entry"}],"entries_total":118,"docs":[{"source":"claude-code","path":"commands","title":"Commands","documented":true},{"source":"api","path":"manage-claude\/wif-providers\/azure","title":"Create the app registration that represents the Claude API audience.","documented":false},{"source":"claude-code","path":"admin-setup","title":"Set up Claude Code for your organization","documented":false},{"source":"claude-code","path":"agent-sdk\/typescript","title":"Agent SDK reference - TypeScript","documented":false},{"source":"claude-code","path":"agent-view","title":"Manage multiple agents with agent view","documented":false},{"source":"claude-code","path":"artifacts","title":"Share session output as artifacts","documented":false},{"source":"claude-code","path":"authentication","title":"Authentication","documented":false},{"source":"claude-code","path":"changelog","title":"Claude Code changelog","documented":false},{"source":"claude-code","path":"chrome","title":"Use Claude Code with Chrome","documented":false},{"source":"claude-code","path":"claude-apps-gateway","title":"Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry","documented":false}],"docs_total":13,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/slash\/login","family_url":"https:\/\/changelogs.core-directive.com\/reference\/slash.json"}