sfdx force:source:deploy

Deploy source to an org Use this command to deploy source (metadata that’s in source format) to an org

Options

NameDescription
--jsonFormat output as json
--loglevel <loglevel>Logging level for this command invocation
-u, --targetusername <targetusername>Username or alias for the target org; overrides default target org
--apiversion <apiversion>Override the api version used for api requests made by this command
-c, --checkonlyValidate deploy but don’t save to the org
--soapdeployDeploy metadata with SOAP API instead of REST API
-w, --wait <wait>Wait time for command to finish in minutes
-l, --testlevel <testlevel>Deployment testing level
-r, --runtests <runtests>Tests to run if --testlevel RunSpecifiedTests
-o, --ignoreerrorsIgnore any errors and do not roll back deployment
-g, --ignorewarningsWhether a warning will allow a deployment to complete successfully
-q, --validateddeployrequestid <validateddeployrequestid>Deploy request ID of the validated deployment to run a Quick Deploy
--verboseVerbose output of deploy result
-m, --metadata <metadata>Comma-separated list of metadata component names
-p, --sourcepath <sourcepath>Comma-separated list of source file paths to deploy
-x, --manifest <manifest>File path for manifest (package.xml) of components to deploy