- Get DynamoDB
$ wget http://dynamodb-local.s3-website-us-west-2.amazonaws.com/dynamodb_local_latest.tar.gz
- Unzip
$ gunzip dynamodb_local_latest.tar.gz
- Make a local directory
$ mkdir ~/.dynamolocal
- Untar to new directory
$ tar -jxvf dynamodb_local_latest.tar -C ~/.dynamolocal
Add:
function dynamodb(){
cd ~/.dynamolocal
java -Djava.library.path=./DynamoDBLocal_lib/ -jar DynamoDBLocal.jar
}
From command line run:
$ dynamodb