package
Command line interface for building Titanium SDK apps
npm install titaniumGitHub-flavored package documentation.
Across all versions, last 30 days.
8,218 in 30 days
Runtime metadata.
Tagged topics.
Titanium CLI is a Command Line Tool for creating and building Titanium Mobile applications and modules. It's open-source and easy to use. We've designed Titanium to be suitable for command line beginners, but still be powerful and extensible enough for production usage.
[sudo] npm install -g titaniumAfter install, Titanium CLI is executable as ti or titanium.
[!NOTE] The Titanium CLI requires Node.js 20.18.1 or newer.
awam
ewanharris93@gmail.com
You will need to download a Titanium SDK:
# stable release (recommended)
ti sdk install latestBefore you begin using the Titanium CLI, it's a good idea to run the setup:
ti setupNext, run the info command to ensure Titanium can find the development dependencies such as the Android SDK or Xcode.
ti infoTo show help or help for a specific command.
ti
titanium --help
titanium <command> --helpVisit https://titaniumsdk.com for more info.
ti build - build a projectti clean - removes previous build directoriesti config - get and set config optionsti create - creates a new projectti info - display development environment informationti module - displays installed Titanium modulesti project - get and set tiapp.xml settingsti sdk - manages installed Titanium SDKsti setup - sets up the Titanium CLIBuilds a project for Android or iOS. Note that you need a Mac to build for iOS.
ti build -p android
ti build -p android -T device
ti build -p ios
ti build -p ios -T deviceRemoves the artifacts from the last build.
ti cleanConfigure your CLI settings.
# list all config settings
ti config
# get a config setting
ti config <key>
# set a config setting
ti config <key> <value>Create a new project. The CLI will prompt for project settings.
ti createDisplays information about your development environment including Xcode installs, iOS SDKs, Android SDKs, etc. If there are any issues or missing dependencies, the info command will list them at the end.
ti info
ti info --jsonShow all installed modules.
ti moduleShows various project info from the tiapp.xml.
ti project
ti project nameManage Titanium SDKs. There are three subcommands: list, install, and uninstall.
Installs a specific version of the Titanium SDK. If no version is specified, it will download the latest stable release.
ti sdk i
ti sdk install
ti sdk install <version>Uninstalls a Titanium SDK.
ti sdk rm <version>
ti sdk uninstall <version>Lists all installed Titanium SDKs.
ti sdk
ti sdk listYou can display the available releases:
ti sdk list --releasesReconfigures the Titanium CLI by asking you a series of questions.
ti setupDisplays the current version of the CLI and exits.
ti -v
ti --versionInterested in contributing? There are several ways you can help contribute to this project.
Source code contributions are always welcome! Before we can accept your pull request, you must sign a Contributor License Agreement (CLA). Please visit https://tidev.io/contribute for more information.
Please consider supporting this project by making a charitable donation. The money you donate goes to compensate the skilled engineers and maintainers that keep this project going.
TiDev wants to provide a safe and welcoming community for everyone to participate. Please see our Code of Conduct that applies to all contributors.
If you find a security related issue, please send an email to security@tidev.io instead of publicly creating a ticket.
For the latest information, please find us on Bluesky and X: Titanium SDK and TiDev.
Join our growing Slack community by visiting https://slack.tidev.io!
Titanium is a registered trademark of TiDev Inc. All Titanium trademark and patent rights were transferred and assigned to TiDev Inc. on 4/7/2022. Please see the LEGAL information about using our trademarks, privacy policy, terms of usage and other legal information at https://tidev.io/legal.
Estimated unpacked size across 41 packages.
4.5 MB
Includes dependencies.
11.4.1
15.1.0
15.1.0
10.0.2
10.0.2
7.2.0
7.2.0
0.9.12
0.9.12