

# AWS SAM CLI core commands
<a name="using-sam-cli-corecommands"></a>

AWS SAM CLI has some basic commands you use to create, build, test, deploy, and sync your serverless application. The table below lists these commands and provides links with more information for each.

For a complete list of AWS SAM CLI commands, see [AWS SAM CLI command reference](serverless-sam-cli-command-reference.md).


| Command | What it does | Related topics | 
| --- | --- | --- | 
| **sam build** | Prepares an application for subsequent steps in the developer workflow, such as local testing or deploying to the AWS Cloud. |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-sam-cli-corecommands.html)  | 
| **sam deploy** | Deploys an application to the AWS Cloud using CloudFormation. |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-sam-cli-corecommands.html)  | 
| **sam init** | Provides options to initialize and create a new serverless application. |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-sam-cli-corecommands.html)  | 
| **sam local** | Provides subcommands to test your serverless applications locally. |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-sam-cli-corecommands.html)  | 
| **sam remote invoke** | Provides a way to interact with supported AWS resources in the AWS Cloud. |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-sam-cli-corecommands.html)  | 
| **sam remote test-event** | Provides a way to access and manage shareable test events for your AWS Lambda functions. |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-sam-cli-corecommands.html)  | 
| **sam sync** | Provides options to quickly sync local application changes to the AWS Cloud. |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-sam-cli-corecommands.html)  | 