Skip to main content
Box Dev Docs home page
English
Search...
⌘K
Ask AI
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 AI
Box AI Studio
Box Archive
Box Doc Gen
Box Hubs
Box MCP Server
Box Relay
Box Sign
API Calls
Applications
Authentication
Authorization
CLI
Overview
Use Box CLI with OAuth 2.0
CLI sample scripts
CLI guides
Collaborations
Collections
Comments
Downloads
Embed Box
Events
Files
File Requests
Folders
Integration Mappings
Legal Holds
Metadata
Mobile
Representations
Retention Policies
Search
Security
Shared Links
SSO & App users
Tasks
Tooling
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
Common Errors
Previous
Use Box CLI with OAuth 2.0
Next
⌘I