We are excited to announce enhancements to Box CLI that make it easier to authenticate using your Box credentials. With this launch, developers can now sign in directly from the CLI using box login and complete OAuth authentication in the browser, without creating a custom app in Developer Console. This reduces setup time, improves the getting-started experience, and helps developers and AI-powered tools work with Box content more quickly from the terminal.
In this release, Box CLI OAuth sign-in will allow users to:
- Sign in with Box credentials through an OAuth flow using
box login - Get started without creating a custom Platform App for standard CLI use
- Store credentials more securely using OS-native encryption on macOS, Windows, and Linux
- Work more easily with cleaner help text and more actionable error messages
To get started, install the latest Box CLI with npm install --global @box/cli , or run box update if you already have it installed.
For more information, read the post or visit the Box CLI documentation at developer.box.com/guides/cli.