Skip to content

Commit

Permalink
docs(installation): Upgrade instructions for AWS Cloud9 (#643)
Browse files Browse the repository at this point in the history
  • Loading branch information
teknogeek0 authored and jfuss committed Sep 2, 2018
1 parent 2a58c40 commit 129bdb4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,28 @@ Install with PyEnv
# Verify your installation worked
$ sam –-version
Updating SAM CLI on AWS Cloud9
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

If your AWS Cloud9 environment has a SAM CLI version < 0.3.0 installed there are a few extra steps you must do to upgrade to newer versions:

.. code:: bash
# Uninstall the older version of SAM Local
$ npm uninstall -g aws-sam-local
# Remove the symlink
$ rm -rf $(which sam)
# Install the CLI
$ pip install --user aws-sam-cli
# Create new symlink
$ ln -sf $(which sam) ~/.c9/bin/sam
# Verify your installation worked
$ sam –-version
Troubleshooting
---------------

Expand Down

0 comments on commit 129bdb4

Please sign in to comment.