Skip to main content
Box Dev Docs home page
English
Search...
⌘K
Sign up
My Platform apps
My Platform apps
Search...
Navigation
CLI
CLI
Guides
API reference
Quick starts
AI
MCP
SDKs and tools
Changelog
Community
Developer Blog
Box SDKs
Build with Box Platform
Developer Guides Overview
Start Here
Box Archive
Box AI
Box AI Studio
Box MCP Server
Box Doc Gen
Applications
Authentication
Authorization
API Calls
CLI
Overview
Use Box CLI with OAuth 2.0
CLI sample scripts
CLI guides
Embed Box
Tooling
Security
SSO & App users
Collaborations
Collections
Comments
Downloads
Events
Files
File Requests
Folders
Integration Mappings
Legal Holds
Metadata
Mobile
Representations
Retention Policies
Search
Shared Links
Box Relay
Box Sign
Box Skills
Tasks
Trash
Uploads
Users
Webhooks
Web Links
On this page
Quick start
CLI setup and use
Sample scripts
Advanced
CLI
CLI
Cursor
Connect to Cursor
Cursor
Connect to Cursor
The Box Command Line Interface (CLI) is a tool for making requests to Box APIs from your terminal window or command prompt.
Quick start
Get started using the Box CLI with OAuth 2.0
.
CLI setup and use
To use
server authentication
method, check out
this
guide.
To use
CCG authentication
method, check out
this
guide.
To perform bulk actions using CLI commands, check out
this
guide.
Sample scripts
Using the Box CLI is great by itself, but it becomes even more powerful when combined with a Powershell script. We’ve created a
library
of script templates for you to get started automating repetitive tasks.
Explore sample scripts
Advanced
The GitHub page also has some additional guides that might be of interest to an advanced CLI user.
Setup autocomplete
Configure another app
Switch accounts
Token cache
Was this page helpful?
Yes
No
Versioning errors
Previous
Use Box CLI with OAuth 2.0
Next
⌘I