Sam Install No Homebrew
aws sam homebrew cli lambdaThe instructions to install SAM on the AWS site uses Homebrew. I use MacPorts locally on my Macbook and not much of a fan of Homebrew. The following explains how I install SAM for local Lambda development without Homebrew.
Install python39 with macports
|
|
Create a Python virtual environment
Once in your virtual environment, use pip to install SAM
|
|
Create a symlink to execute sam
I have something similar to the following in my .zshrc file so it can see what’s in my bin folder
|
|