Giter Club home page Giter Club logo

tsm's Introduction

tsm: Titanium SDK Manager

manage installed titanium mobile SDKs with ease

tsm is a small utility which helps you to manage your installed sdk versions. Often, it is useful to download the latest versions of the SDK off of Appcelerator's build page. However, this can be tedious; especially for users who do not use the Titanium/Apptana studio nonsense.

The utility requires node; see this page for instructions on how to install node. You can then install it with npm:

sudo npm install -g tsm

Depending on how you installed node, you may or may not need to use sudo. If you're using a virtual environment manager such as nvm you do not need sudo.

You will now have the tsm command available to you. tsm uses node-semver to make it easier to select versions. To list all available builds in the 2.1 release, try

tsm ls 2.1

To list all available builds:

tsm ls all

To list installed builds:

tsm ls installed

You can even specify ranges:

tsm ls '> 2.0 < 2.1'

You can also install an sdk version:

tsm install 2.1

This will install the latest build available from the matched versions.

Note that 2.0 is parsed as a float, so if you want to install 2.0, specify it like this

tsm install 2.0.x

or else you'll get 2.1 instead.

Run the titanium.py script with tsm run:

$ tsm run 2.0.x create

Full documentation on the titanium.py script is available here.

Run the builder.py for a particular os with tsm builder:

$ tsm builder 2.0.x iphone

If you're on osx and you have a /Library/Application Support/Titanium or $HOME/Library/Application Support/Titanium directory (the place where Titanium Studio puts its sdks) then the installed sdks will be dropped there.

If you don't have this folder or you're on linux, the sdks will be installed in ~/.titanium/.

License

MIT.

tsm's People

Contributors

doublerebel avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.