command-line tool : Force CLI and Salesforce DX

The Force CLI is an open source app, which is written in Go, it allows us to work with data directly from the command line.

Sometimes we might confuse Salesforce DX with Force CLI, which made its debut during the Salesforce For Developers Keynote 2016, as the two commond-line tools looks very similar, so it could be that Salesforce DX will be a updated version and finally replace the Force CLI.

So far, Salesforce DX is not available yet, but maybe you can try Force CLI first and prepare for Salesforce DX’s coming.

The usage of Force CLI is pretty simple, let’s get started.



Download it from CLI Home Page or the Current Release Page, the file name will be “force” without any extension.

Setting permission

Chmod +x the file to make it runable.


Login and do a test soql query.

Command-line help

Differents from Salesforce DX

And the below command-line tools’s help of Salesforce DX may explain how differents between Salesforce DX and Force CLI.

Enjoy It!

Related Post

Salesforce DevTools – Powerful Chrome extens... Salesforce DevTools is a Chrome extension helping developers do the below things: ・Exporting Objects API Reference to Excel file. ・Generating Salesforce data model (ERDs) as svg. ・Show / Hide object API name on object detail page by 1 Click. ・Quickly generate test data Apex Code...
Pipeline for Salesforce – Be less busy, less... Overview Pipeline is a metadata deploy app for Salesforce, supports: ・Making Changeset with Excel file in seconds. ・Exporting Pipeline target metadata list to Excel file. ・No dependencies on Salesforce Org, deploying metadata between any different organizations. ・Deploying metadata base o...
Setup Salesforce DX IDE environment with Visual St... My favorite Salesforce IDE MavensMate is no longer being developed and supported, because of app owner Joe's personal reasons. I'm deeply moved when I read his post (HERE) and realize that devoting to open source needs huge strength and courage, it costs so much personal time other guys can't see. ...
Works with Salesforce Developer Experience (DX) Salesforce Developer Experience (DX) will be released from Winter 18, which is a really exciting news I heard from SWTT (2017) , I'll share you how to work with Salesforce DX in this post, so far it still can be only usded in Dev Hub Trial Org though. Download & Install Salesforce DX CLI First, ...

Post Tagged with , , , ,