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.
Installing the Titanium CLI
[sudo] npm install -g titanium
After install, Titanium CLI is executable as ti or titanium.
# list all config settingsti config# get a config settingti config <key># set a config settingti config <key> <value>
create
Create a new project. The CLI will prompt for project settings.
ti create
info
Displays 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 infoti info --json
module
Show all installed modules.
ti module
project
Shows various project info from the tiapp.xml.
ti projectti project name
sdk
Manage Titanium SDKs. There are three subcommands: list, install, and uninstall.
sdk install
Installs a specific version of the Titanium SDK. If no version is specified, it
will download the latest stable release.
ti sdk iti sdk installti sdk install <version>
sdk uninstall
Uninstalls a Titanium SDK.
ti sdk rm <version>ti sdk uninstall <version>
sdk list
Lists all installed Titanium SDKs.
ti sdkti sdk list
You can display the available releases:
ti sdk list --releases
setup
Reconfigures the Titanium CLI by asking you a series of questions.
ti setup
version
Displays the current version of the CLI and exits.
ti -vti --version
Contributing
Interested in contributing? There are several ways you can help contribute to this project.
New Features, Improvements, Bug Fixes, & Documentation
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.
Donations
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.
Code of Conduct
TiDev wants to provide a safe and welcoming community for everyone to participate. Please see our Code of Conduct that applies to all contributors.
Security
If you find a security related issue, please send an email to security@tidev.io instead of publicly creating a ticket.
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.