LogoLogo
HomeAPIBlog
3.0.0-SNAPSHOT
3.0.0-SNAPSHOT
  • INTRODUCTION
    • Getting Started
      • Running Local Development Servers
      • Beginner Tutorial: Hello World
      • Beginner Tutorial: Hello Database
      • Tutorial: Wheels, AJAX, and You
    • Frameworks and Wheels
    • Requirements
    • Manual Installation
    • Upgrading
    • Screencasts
  • Command Line Tools
    • CLI Overview
    • Quick Start Guide
    • Command Reference
      • Core Commands
        • wheels init
        • wheels info
        • wheels reload
        • wheels deps
        • wheels destroy
        • wheels watch
      • Code Generation
        • wheels generate app
        • wheels generate app-wizard
        • wheels generate controller
        • wheels generate model
        • wheels generate view
        • wheels generate property
        • wheels generate route
        • wheels generate resource
        • wheels generate api-resource
        • wheels generate frontend
        • wheels generate test
        • wheels generate snippets
        • wheels scaffold
      • Database Commands
        • wheels dbmigrate info
        • wheels dbmigrate latest
        • wheels dbmigrate up
        • wheels dbmigrate down
        • wheels dbmigrate reset
        • wheels dbmigrate exec
        • wheels dbmigrate create blank
        • wheels dbmigrate create table
        • wheels dbmigrate create column
        • wheels dbmigrate remove table
        • wheels db schema
        • wheels db seed
      • Testing Commands
        • wheels test
        • wheels test run
        • wheels test coverage
        • wheels test debug
      • Configuration Commands
        • wheels config list
        • wheels config set
        • wheels config env
      • Environment Management
        • wheels env
        • wheels env setup
        • wheels env list
        • wheels env switch
      • Plugin Management
        • wheels plugins
        • wheels plugins list
        • wheels plugins install
        • wheels plugins remove
      • Code Analysis
        • wheels analyze
        • wheels analyze code
        • wheels analyze performance
        • wheels analyze security
      • Security Commands
        • wheels security
        • wheels security scan
      • Performance Commands
        • wheels optimize
        • wheels optimize performance
      • Documentation Commands
        • wheels docs
        • wheels docs generate
        • wheels docs serve
      • CI/CD Commands
        • wheels ci init
      • Docker Commands
        • wheels docker init
        • wheels docker deploy
      • Deployment Commands
        • wheels deploy
        • wheels deploy audit
        • wheels deploy exec
        • wheels deploy hooks
        • wheels deploy init
        • wheels deploy lock
        • wheels deploy logs
        • wheels deploy proxy
        • wheels deploy push
        • wheels deploy rollback
        • wheels deploy secrets
        • wheels deploy setup
        • wheels deploy status
        • wheels deploy stop
    • CLI Development Guides
      • Creating Commands
      • Service Architecture
      • Migrations Guide
      • Testing Guide
  • Working with Wheels
    • Conventions
    • Configuration and Defaults
    • Directory Structure
    • Switching Environments
    • Testing Your Application
    • Using the Test Environment
    • Contributing to Wheels
    • Submitting Pull Requests
    • Documenting your Code
  • Handling Requests with Controllers
    • Request Handling
    • Rendering Content
    • Redirecting Users
    • Sending Files
    • Sending Email
    • Responding with Multiple Formats
    • Using the Flash
    • Using Filters
    • Verification
    • Event Handlers
    • Routing
    • URL Rewriting
      • Apache
      • IIS
      • Tomcat
      • Nginx
    • Obfuscating URLs
    • Caching
    • Nesting Controllers
    • CORS Requests
  • Displaying Views to Users
    • Pages
    • Partials
    • Linking Pages
    • Layouts
    • Form Helpers and Showing Errors
    • Displaying Links for Pagination
    • Date, Media, and Text Helpers
    • Creating Custom View Helpers
    • Localization
  • Database Interaction Through Models
    • Object Relational Mapping
    • Creating Records
    • Reading Records
    • Updating Records
    • Deleting Records
    • Column Statistics
    • Dynamic Finders
    • Getting Paginated Data
    • Associations
    • Nested Properties
    • Object Validation
    • Object Callbacks
    • Calculated Properties
    • Transactions
    • Dirty Records
    • Soft Delete
    • Automatic Time Stamps
    • Database Migrations
      • Migrations in Production
    • Using Multiple Data Sources
  • Plugins
    • Installing and Using Plugins
    • Developing Plugins
    • Publishing Plugins
  • Project Documentation
    • Overview
  • External Links
    • Source Code
    • Issue Tracker
    • Sponsor Us
    • Community
Powered by GitBook
LogoLogo
On this page
  • Usage
  • Parameters
  • Description
  • Examples
  • Install from ForgeBox
  • Install specific version
  • Install from GitHub
  • Install from local file
  • Force reinstall
  • Install and save to dependencies
  • Installation Process
  • Output
  • Plugin Sources
  • ForgeBox
  • GitHub
  • Direct URL
  • Notes

Was this helpful?

Edit on GitHub
Export as PDF
  1. Command Line Tools
  2. Command Reference
  3. Plugin Management

wheels plugins install

Installs a CFWheels plugin from various sources including ForgeBox, GitHub, or local files.

Usage

wheels plugins install <plugin> [--version=<version>] [--force] [--save]

Parameters

  • plugin - (Required) Plugin name, ForgeBox slug, GitHub URL, or local path

  • --version - (Optional) Specific version to install. Default: latest

  • --force - (Optional) Force installation even if plugin exists

  • --save - (Optional) Save plugin to box.json dependencies

Description

The plugins install command downloads and installs CFWheels plugins into your application. It supports multiple installation sources:

  • ForgeBox Registry: Official and community plugins

  • GitHub Repositories: Direct installation from GitHub

  • Local Files: ZIP files or directories

  • URL Downloads: Direct ZIP file URLs

The command automatically:

  • Checks plugin compatibility

  • Resolves dependencies

  • Backs up existing plugins

  • Runs installation scripts

Examples

Install from ForgeBox

wheels plugins install authentication

Install specific version

wheels plugins install dbmigrate --version=3.0.0

Install from GitHub

wheels plugins install https://github.com/user/wheels-plugin

Install from local file

wheels plugins install /path/to/plugin.zip

Force reinstall

wheels plugins install routing --force

Install and save to dependencies

wheels plugins install cache-manager --save

Installation Process

  1. Download: Fetches plugin from specified source

  2. Validation: Checks compatibility and requirements

  3. Backup: Creates backup of existing plugin (if any)

  4. Installation: Extracts files to plugins directory

  5. Dependencies: Installs required dependencies

  6. Initialization: Runs plugin setup scripts

  7. Verification: Confirms successful installation

Output

Installing plugin: authentication
==================================

Downloading from ForgeBox... ✓
Checking compatibility... ✓
Creating backup... ✓
Installing plugin files... ✓
Installing dependencies... ✓
Running setup scripts... ✓

Plugin 'authentication' (v2.1.0) installed successfully!

Post-installation notes:
- Run 'wheels reload' to activate the plugin
- Check documentation at /plugins/authentication/README.md
- Configure settings in /config/authentication.cfm

Plugin Sources

ForgeBox

# Install by name (searches ForgeBox)
wheels plugins install plugin-name

# Install specific ForgeBox ID
wheels plugins install forgebox:plugin-slug

GitHub

# HTTPS URL
wheels plugins install https://github.com/user/repo

# GitHub shorthand
wheels plugins install github:user/repo

# Specific branch/tag
wheels plugins install github:user/repo#v2.0.0

Direct URL

wheels plugins install https://example.com/plugin.zip

Notes

  • Plugins must be compatible with your CFWheels version

  • Always backup your application before installing plugins

  • Some plugins require manual configuration after installation

  • Use wheels plugins list to verify installation

  • Restart your application to activate new plugins

Previouswheels plugins listNextwheels plugins remove

Last updated 2 days ago

Was this helpful?