This package provides the wheels command-line tool for Windows, which serves as a convenient wrapper for the Wheels CommandBox CLI.
The wheels command allows you to run Wheels CLI commands directly from your command prompt or PowerShell without having to prefix them with box.
Instead of typing:
box wheels generate model UserYou can simply type:
wheels generate model UserInstall using Chocolatey:
choco install wheelsThis package depends on CommandBox, which will be automatically installed if you don't already have it:
choco install commandboxOnce installed, you can use the wheels command from any Command Prompt or PowerShell session:
# Generate a new model
wheels generate model User
# Run migrations
wheels migrate up
# Start a development server
wheels server start
# Get help
wheels --helpThe package installs both:
wheels.bat- for Command Promptwheels.ps1- for PowerShell
All arguments are passed through to the underlying box wheels command.
If you want to build this package locally:
- Install Chocolatey and the
chococommand - Clone this repository
- Run the build command:
choco pack
- Install the local package:
choco install wheels -s .
chocolatey-wheels/
├── wheels.nuspec # Package specification
├── tools/
│ ├── chocolateyinstall.ps1 # Installation script
│ └── chocolateyuninstall.ps1 # Uninstall script
├── README.md
└── LICENSE
To verify the installation worked correctly:
# Check that the command is available
where wheels
# Test the command (will show Wheels CLI help)
wheels --helpIf you encounter issues:
-
Command not found:
- Restart your command prompt/PowerShell
- Check that Chocolatey's tools directory is in your PATH
-
CommandBox not found:
- Ensure CommandBox is installed from https://www.ortussolutions.com/products/commandbox
- Restart your command prompt after installation
-
Permission issues:
- Run as Administrator:
choco install wheels --force
- Run as Administrator:
To update to the latest version:
choco upgrade wheelschoco uninstall wheelsTo submit this package to the official Chocolatey repository:
- Create an account at https://chocolatey.org/
- Generate an API key
- Run:
choco push wheels.1.0.0.nupkg --source https://push.chocolatey.org/
Issues and pull requests are welcome at https://github.com/wheels-dev/chocolatey-wheels.
This Chocolatey package is available as open source under the terms of the MIT License.