I actually figured out a way to do this. First you use wget like this:
wget --user username --ask-password -O path/to/output.zip https://bitbucket.org/path/to/file.zip
the -O flag specifies output and output.zip is where you want it to download to.
Then you can run:
wp theme install path/to/output.zip --activate
Happy days
Related Posts:
- Add a script as a dependency to a registered script
- Setting up an API “listening” page
- Serving wp-includes (front-end) javascript from a different domain?
- Shortest possible shell script to install WordPress on Nginx server?
- Add conversion/tracking pixel to section for specific post
- How can I selectively print scripts to the footer of certain admin pages?
- change $src from wp_register_script in plugins/themes
- By having WordPress in a subfolder does it mean more script executions?
- Script Code in Text Widget Does NOT Show
- Invision + WordPress integration
- wp_print_scripts runs twice
- How to serve wp-includes javascripts from CDN? [duplicate]
- Register scripts located in child theme?
- How to add GET variable after script url?
- Generating a static page from a script
- Refused to execute as script because “X-Content-Type: nosniff” was given and its Content-Type is not a script MIME type
- Media Library Cleanup A Thought Exercise
- Disable load scripts and styles not working
- Socialite not displaying icons [closed]
- Script dependencies generates different outputs
- Renaming the ‘build’ directory generated by @wordpress/scripts for React development
- How do I make it so that wp-scripts builds on plugin activation
- What is your best practice to execute one-time scripts?
- How to change user password with wp-cli?
- Detect if WP is running under WP-CLI
- Running WP Cron on multisite the right way
- How do I get the $handle for all enqueued scripts?
- WP CLI “Error establishing a database connection” in localhost (MAMP)
- How can I get a list of all enqueued scripts and styles?
- how to update serialized options programatically?
- How to properly dequeue scripts and styles in child theme?
- How I prevent a plugin to be loaded when doing WP-CLI?
- Fastest way (least amount of steps) to locally import a remote database using WP-CLI
- Conditionally enqueue a widget’s script/stylesheet in HEAD (only when present on page!)
- WP-CLI not recognizing commercial plugin updates
- Why is it important to deactivate a plugin before deleting it?
- wp-cli Enabling Maintainance Mode
- Is there a drush equivalent for WordPress yet?
- WP-CLI – Selecting PHP version
- What are the benefits of using wp_enqueue_script?
- How can I create a bash install script for my WordPress sites setup (WP+plugins+theme)?
- How do I run a PHP script from WordPress environment, like `wp shell`?
- Correct Method to run scripts with dependencies without enqueue?
- Using wp-cli can I not query pages by their title?
- wp-cli displays php notices when display errors off
- wp-cli 0.14.1 MySQL error
- How can I bulk delete media and attachments using WP-CLI?
- How to change user_login with wp-cli?
- How can I batch delete all unattached images with WP-CLI or other automated process?
- WP-CLI Cannot Connect to Database due to Vagrant
- dynamically add scripts to WP_Widget widget() method
- Changing the WP CLI cache folder
- WordPress test environment on windows
- WP-CLI Process Killed
- Load plugin scripts and styles only on plugin page
- How to use wp-cli.yml file?
- wp-cli commands do nothing, return nothing
- Get list of scripts / styles and show file which enqueued them
- WP cli –path does not seem to work
- Enable Auto-updates for all plugins using wp-cli? (since wordpress 5.5)
- How do I clone or duplicate a post with the WordPress Command Line Interface WP-CLI?
- Run WP-CLI using PHP
- How to update an ‘array’ option using wp-cli [duplicate]
- How to prevent wordpress from loading old versions of jquery in wp_head();?
- How to use command ‘wp post create’ in wp-cli properly?
- How do I activate an mu-plugin with WP-CLI?
- WP-CLI get all posts from certain post type and taxonomy term
- How to create a WP-CLI command with $_POST?
- wp-cli doesn’t find and wordpress installation
- Does wp post delete also delete metadata associated with posts?
- WP-CLI :: Cannot installing plugin as www-data
- How to reset passwords for all users on a network using wp cli
- WP-CLI methods for get_current_blog_id, get_blog_details or $wpdb->prefix
- WP-CLI Bulk delete posts from specific category
- Is it possible to change the attributes of a registered style or script before it fires?
- Disable comment windows for all existing posts (pages/blogposts)
- wp media regenerate unknown –image_size parameter
- Difference between deactivating, uninstalling, and deleting plugins
- wp-cli import theme sample data
- WP-CLI works on non WP-CLI installed WordPress instance?
- How can I run a WP-CLI command as authenticated user?
- Export list of users with first and lastname in WP-CLI
- How to get a jQuery script to run on a page?
- Outputting Canonical Resource URLs Across a Multisite Network?
- WP-CLI – Return posts with matching meta key
- Is it possible just by using wp-cli to migrate one multisite instance to single site?
- Export WP database for import using WP-CLI on Vagrant Box
- Prompt user for input in WP CLI
- wp-cli is not working properly. No response from commands
- WP CLI info showing correct PHP binary but wrong version of PHP
- Generate WP-CLI @alias for each site on multisite
- Can’t install local plugin (zip) with wp-cli [closed]
- What could cause WP-CLI search-replace to not replace all instances of a string?
- WP WC CLI – WooCommerce setup store with wp-cli [closed]
- WP-CLI throwing PHP Fatal error: Call to undefined function apply_filters() [closed]
- Editing Source Code in WordPress
- How to load JQuery easing script in wordpress?
- WP-CLI How to generate a list of posts with corresponding meta values
- Odd Script File Trying to be Loaded
- WPCLI – update plugins, themes, and core, all in one row, instead 3 rows?