Getting Started
English | 简体中文
This page starts with installation verification and introduces Fastforge entry points for packaging, publishing, and artifact analysis. Platform-specific details are covered in the corresponding packager documentation.
1. Check the Environment
fastforge --version
fastforge --help
Run commands from the project root, and install the SDKs, build tools, and signing tools required by the target platform in advance.
Each command first checks GitHub for a newer Fastforge release and prints a hint to stderr; run fastforge upgrade to update, or pass --no-version-check to skip the check (for example in CI).
2. Choose a Platform and Format
package builds the platform project and prepares a distributable artifact. Availability depends on the project type.
Native Gradle Android projects can package APK or AAB artifacts directly:
fastforge package --platform android --target apk
fastforge package --platform android --target aab
Flutter projects (with pubspec.yaml) build through Flutter Builder and can package every platform/format pair the packagers support, for example:
fastforge package --platform macos --target dmg
fastforge package --target apk # --platform is inferred when the target is unambiguous
Native projects support packaging Android (Gradle Builder), iOS and macOS (Xcode Builder), and Windows (.NET Builder). Xcode projects need project and scheme, and .NET projects need project: pass them with --flutter-build-args project=...,scheme=... or a workflow's build-args; see Xcode Builder and .NET Builder. Before running a command, review the builder overview and packager overview to confirm coverage.
3. Publish an Existing Artifact
fastforge publish \
--path dist/app.apk \
--target fir
See the publisher overview for publishing parameters and credentials. If you already have an artifact, you can skip packaging and publish or analyze it directly.
4. Analyze an Artifact
analyze selects an analyzer based on the file extension and writes JSON to standard output:
fastforge analyze dist/app.apk
Write the result to a file:
fastforge analyze dist/app.apk \
--output analysis.json
Supported inputs are .apk, .aab, .ipa, .dmg, and macOS .app bundles. DMG and .app analysis are available only on macOS.
Next Steps
- Run a build separately: Building
- Create an installer or package: Packaging
- Upload an existing artifact: Publishing
- Run automation tasks: Local Workflows
- Analyze app artifacts: App Package Analysis
- Manage store metadata: Store Management