Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install sam local without npm? #366

Closed
red8888 opened this issue Apr 20, 2018 · 3 comments
Closed

Install sam local without npm? #366

red8888 opened this issue Apr 20, 2018 · 3 comments

Comments

@red8888
Copy link

red8888 commented Apr 20, 2018

How can I install sam local without npm?

@andreabedini
Copy link

it's a single static binary, so pretty much

curl -L https://github.com/awslabs/aws-sam-local/releases/download/v0.2.11/sam_0.2.11_darwin_amd64.tar.gz | tar xz -C /usr/local/bin sam

or similar, releases can be found here

@jfuss
Copy link
Contributor

jfuss commented May 8, 2018

Now you don't need NPM at all :)

See our current release notes for details: https://github.com/awslabs/aws-sam-cli/releases/tag/v0.3.0

Closing as we moved away from npm and to pip

@andreabedini
Copy link

😱 this is terrible.

qingchm pushed a commit to qingchm/aws-sam-cli that referenced this issue Sep 17, 2021
* refactor for test command + some unit test fixes

* remove some test command changes which accidentally went into refactor one

* remove some test command changes which accidentally went into refactor one

* sam test implementation and some groundwork

* when neither payload nor payload_file is provided, it will use sys.stdin to read the payload

* fix typo

* use protocol instead of complex callable

* use utf-8 for encoding

* fix typo

* use protocol instead of complex callable

* address comments

* address comments

* feat(Accelerate): CI Fixes (aws#368)

* Reverted pylint to 2.6.x

* Disables PyLint for Generic

* Updated boto3-stubs

* Fixed Another PyLint Generic Issue

* Fixed Test Typing Issues

* Fixed Python3.7 and 3.8 re.escape Test Issue

* Added ECR Login

* fix unit tests

* address comments

* address comments

* address comments

* update log message

* flip the flag back once we have new log group is created

* feat: sam test lambda implementation (aws#366)

* sam test lambda implementation

* when neither payload nor payload_file is provided, it will use sys.stdin to read the payload

* use utf-8 for encoding

* fix typo

* use protocol instead of complex callable

* address comments & update with ability to pipe file input into test execution

* feat: sam test sqs implementation (aws#367)

* sam test sqs implementation

* when neither payload nor payload_file is provided, it will use sys.stdin to read the payload

* use utf-8 for encoding

* fix typo

* use protocol instead of complex callable

* address comments & update with ability to pipe file input into test execution

* address comments & update sqs test executor

* added extra debug logging

* address comments

* address comments

* make black

Co-authored-by: Cosh_ <CoshUS@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants