# dropbox-auth-cli **Repository Path**: mirrors_watson/dropbox-auth-cli ## Basic Information - **Project Name**: dropbox-auth-cli - **Description**: Fetch the access token of your Dropbox Platform app from the command line - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-26 - **Last Updated**: 2026-03-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # dropbox-auth-cli Fetch the access token of your Dropbox Platform app from the command line. ## Prerequisites If you want to work with the Dropbox API, you need an access token. Access tokens are tied to Dropbox Platform apps, so you first need to register your app as a Dropbox Platform app: [https://www.dropbox.com/developers/apps/create](https://www.dropbox.com/developers/apps/create) ## Installation ``` npm install dropbox-auth-cli -g ``` ## CLI Usage From the command line, run `dropbox-auth` and enter your Dropbox Platform App key and secret. The Dropbox access token will be stored in `~/.config/dropbox.json`. ## Programmatic Usage You can run the module programmaticly as well: ```javascript var dropboxAuth = require('dropbox-auth-cli'); dropboxAuth(function (err, token) { console.log('The users token is:' token); }); ```