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
  • Synopsis
  • Description
  • Options
  • Features
  • Output Example
  • Dependency Sources
  • CFML Dependencies (box.json)
  • Wheels Plugins
  • Node Dependencies (package.json)
  • Commands Executed
  • Use Cases
  • Best Practices
  • Notes
  • See Also

Was this helpful?

Edit on GitHub
Export as PDF
  1. Command Line Tools
  2. Command Reference
  3. Core Commands

wheels deps

Manage application dependencies.

Synopsis

wheels deps

Description

The wheels deps command helps manage your Wheels application's dependencies, including CFML modules, Wheels plugins, and JavaScript packages.

Options

Option
Description

--help

Show help information

Features

  1. Dependency Analysis

    • Scans box.json for CFML dependencies

    • Checks package.json for Node.js dependencies

    • Identifies Wheels plugins

  2. Version Checking

    • Compares installed vs required versions

    • Identifies outdated packages

    • Shows available updates

  3. Dependency Installation

    • Installs missing dependencies

    • Updates outdated packages

    • Resolves version conflicts

Output Example

╔═══════════════════════════════════════════════╗
║          Dependency Analysis                  ║
╚═══════════════════════════════════════════════╝

CFML Dependencies (box.json):
✓ wheels          2.5.0    (up to date)
✓ cbvalidation    3.0.0    (up to date)
⚠ sqlbuilder      1.2.0    (1.3.0 available)
✗ testbox         Missing  (4.5.0 required)

Wheels Plugins:
✓ multimodule     1.0.0    (active)
✓ scaffold        2.1.0    (active)

Node Dependencies (package.json):
✓ webpack         5.88.0   (up to date)
✓ babel-core      7.22.0   (up to date)

Status: 1 missing, 1 outdated

Would you like to:
[1] Install missing dependencies
[2] Update outdated dependencies
[3] Update all dependencies
[4] Exit

Choice:

Dependency Sources

CFML Dependencies (box.json)

{
  "dependencies": {
    "wheels": "^2.5.0",
    "testbox": "^4.5.0"
  }
}

Wheels Plugins

Located in /plugins directory or installed via ForgeBox.

Node Dependencies (package.json)

{
  "dependencies": {
    "webpack": "^5.88.0"
  }
}

Commands Executed

Behind the scenes, wheels deps runs:

# For CFML dependencies
box install

# For Node dependencies
npm install

# For Wheels plugins
wheels plugins list

Use Cases

  • Check dependency status before deployment

  • Ensure all team members have same dependencies

  • Update dependencies safely

  • Troubleshoot missing functionality

Best Practices

  1. Run after pulling new code

  2. Check before deployments

  3. Update dependencies incrementally

  4. Test after updates

Notes

  • Requires box.json for CFML dependencies

  • Optional package.json for Node dependencies

  • Some plugins may require manual configuration

See Also

Previouswheels reloadNextwheels destroy

Last updated 2 days ago

Was this helpful?

- List installed plugins

- Initialize application

- Test after dependency updates

wheels plugins list
wheels init
wheels test