title: How to use bodymovin / Lottie on Linux
body: <p>AirBnB has published an <em>open source</em> tool to easily export After Effects animations to a JSON file which can then be used to publish the animation on the web or on a native mobile app. This tool is called <a href="https://github.com/airbnb/lottie-web" rel="nofollow noreferrer">Lottie</a>. I found the source code of the player, the sofware used to play the exported animation, but where is the source code of the animation extraction tool (previously called bodymovin? )?</p>
  
  <p>I'm on Linux (Ubuntu) and I would like to be able to install a command line tool that can extract animations out of an after effect (.ae) file into a JSON file. Is it possible ?
  I found this in the <a href="https://github.com/airbnb/lottie-web#option-6" rel="nofollow noreferrer">official documentation</a> : </p>
  
  <pre><code>Option 6:
  
  Install with Homebrew-adobe:
  
  brew tap danielbayley/adobe
  brew cask install lottie
  </code></pre>
  
  <p>and a Linux equivalent to brew (<a href="https://linuxbrew.sh/" rel="nofollow noreferrer">Linuxbrew</a>). But when I run <code>brew cask install lottie</code> it says </p>
  
  <pre><code>Error: Installing casks is supported only on macOS
  </code></pre>
  
  <p>which, I think, means that a <code>cask</code> is an already compiled binary for macOS. Is it possible to recompile lottie from source for my platform ?</p>