github.com/dahs81/otto@v0.2.1-0.20160126165905-6400716cf085/website/source/intro/getting-started/install.html.md (about)

     1  ---
     2  layout: "intro"
     3  page_title: "Install Otto"
     4  sidebar_current: "gettingstarted-install"
     5  description: |-
     6    The first step to using Otto is to get it installed.
     7  ---
     8  
     9  # Install Otto
    10  
    11  To get started with Otto, Otto must first be installed on your machine.
    12  Otto is distributed as a [binary package](/downloads.html) for all
    13  supported platforms and architectures.
    14  
    15  ## Installing Otto
    16  
    17  To install Otto, find the [appropriate package](/downloads.html) for
    18  your system and download it. Otto is packaged as a zip archive.
    19  
    20  After downloading Otto, unzip the package. Otto runs as a single binary
    21  named `otto`. Any other files in the package can be safely removed and
    22  Otto will still function.
    23  
    24  The final step is to make sure that `otto` is available on the PATH.
    25  See [this page](http://stackoverflow.com/questions/14637979/how-to-permanently-set-path-on-linux)
    26  for instructions on setting the PATH on Linux and Mac.
    27  [This page](http://stackoverflow.com/questions/1618280/where-can-i-set-path-to-make-exe-on-windows)
    28  contains instructions for setting the PATH on Windows. For each of those
    29  pages, refer to the question and accepted answer for best practices. Create
    30  any files that they refer to that don't exist.
    31  
    32  ## Verifying the Installation
    33  
    34  After installing Otto, verify the installation worked by opening a new
    35  terminal session and checking that `otto` is available. By executing
    36  `otto`, you should see help output similar to the following:
    37  
    38  ```
    39  $ otto
    40  usage: otto [--version] [--help] <command> [<args>]
    41  
    42  Available commands are:
    43      build      Build the deployable artifact for the app
    44      compile    Prepares your project for being run.
    45      deploy     Deploy the application
    46      dev        Start and manage a development environment
    47      infra      Builds the infrastructure for the Appfile
    48      status     Status of the stages of this application
    49      version    Prints the Otto version
    50  ```
    51  
    52  If you get an error that Otto could not be found, then your PATH environment
    53  variable was not setup properly. Please go back and ensure that your PATH
    54  variable contains the directory where Otto was installed.
    55  
    56  Otherwise, Otto is installed and ready to go!