Installation
Global Installation
Install Aim CLI globally:
bash
dart install aim_cliVerify Installation
Confirm the install with --version:
bash
aim --versionOutput:
aim_cli 0.4.0To list every command, use --help:
bash
aim --helpOutput:
Command-line tool for Aim framework
Usage: aim <command> [arguments]
Global options:
-h, --help Print this usage information.
--version Print the aim_cli version.
Available commands:
build Compile the server for production deployment
create Create a new Aim framework project
db:generate Generate migration from table definitions
db:migrate Apply pending migrations to the database
db:reset Drop database, recreate it, and apply all migrations
db:rollback Rollback the last applied migration(s)
db:status Show migration status
dev Start development server (with hot reload support)
Run "aim help <command>" for more information about a command.PATH Configuration
To use globally installed commands, add Dart's pub-cache/bin directory to your PATH.
macOS / Linux
bash
# ~/.bashrc or ~/.zshrc
export PATH="$PATH":"$HOME/.pub-cache/bin"Windows
powershell
# PowerShell
$env:PATH += ";$env:APPDATA\Pub\Cache\bin"Update
Update to the latest version:
bash
dart install aim_cliUninstall
bash
dart pub global deactivate aim_cliNext Steps
- Commands - Available CLI commands
- Configuration - Environment setup
