{"id":33270,"date":"2022-09-03T06:00:00","date_gmt":"2022-09-03T06:00:00","guid":{"rendered":"https:\/\/www.emizentech.com\/blog\/?p=33270"},"modified":"2022-09-02T09:34:36","modified_gmt":"2022-09-02T09:34:36","slug":"what-is-salesforce-cli","status":"publish","type":"post","link":"https:\/\/multisitelocal.ezxdemo.com\/blog\/what-is-salesforce-cli.html","title":{"rendered":"What is Salesforce CLI? How It Install it on Mac &amp; Windows?"},"content":{"rendered":"\n<p class=\"has-text-align-center\"><strong><em>Salesforce CLI &#8211; A Productivity Enhancer for Developers<\/em><\/strong><\/p>\n\n\n\n<p>The Salesforce CLI is a robust tool for admins also, not useful just for developers. You can use it to build and manage orgs, create and install packages, sync sources to and from orgs, and more.&nbsp;<\/p>\n\n\n\n<p>This detail is not sufficient to learn about the Salesforce CLI.&nbsp;<\/p>\n\n\n\n<p>This article will help you understand Salesforce CLI, its installation steps on different devices, its use cases, how to use it, and a lot more.&nbsp;<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_81 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #007db2;color:#007db2\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #007db2;color:#007db2\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/what-is-salesforce-cli.html#What_is_Salesforce_CLI\" >What is Salesforce CLI?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/what-is-salesforce-cli.html#Install_Salesforce_CLI\" >Install Salesforce CLI<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/what-is-salesforce-cli.html#1_Install_the_CLI_on_macOS\" >1. Install the CLI on macOS<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/what-is-salesforce-cli.html#2_Install_the_CLI_on_Windows\" >2. Install the CLI on Windows<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/what-is-salesforce-cli.html#3_Install_the_CLI_with_a_TAR_File\" >3. Install the CLI with a TAR File<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/what-is-salesforce-cli.html#4_Install_the_CLI_with_npm\" >4. Install the CLI with npm<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/what-is-salesforce-cli.html#5_Install_Older_Versions_of_Salesforce_CLI\" >5. Install Older Versions of Salesforce CLI<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/what-is-salesforce-cli.html#6_Verify_Your_Installation\" >6. Verify Your Installation<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/what-is-salesforce-cli.html#Uses_of_Salesforce_CLI\" >Uses of Salesforce CLI<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/what-is-salesforce-cli.html#3_Ways_to_Use_the_Salesforce_CLI\" >3 Ways to Use the Salesforce CLI<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/what-is-salesforce-cli.html#1_Retrieve_and_Deploy_Metadata\" >1. Retrieve and Deploy Metadata<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/what-is-salesforce-cli.html#2_Import_and_Export_Data\" >2. Import and Export Data<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/what-is-salesforce-cli.html#3_Sandbox_Creation\" >3. Sandbox Creation<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/what-is-salesforce-cli.html#Summary\" >Summary&nbsp;<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_Salesforce_CLI\"><\/span>What is Salesforce CLI?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>While working with <a href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/what-is-salesforce.html\">Salesforce<\/a> org (the container for the entire data of Salesforce customers), a command-line interface that eases the development and craft automation is Salesforce CLI. The Salesforce CLI is also known for speeding the development process for admins and developers. It&#8217;s a free, open-source tool of Salesforce that eases and automates tasks across the platform.<\/p>\n\n\n\n<p>Well, tech-savvy might know about CLI, but non-technical users will find it confusing.&nbsp;<\/p>\n\n\n\n<p>Simply put, a Command Line Interface is a text-based interface for developing a program.&nbsp;<\/p>\n\n\n\n<p>You should enter commands using a terminal and interact with the program to use a CLI. On a Mac, it would be a Terminal, and on Windows, it&#8217;s just Windows Terminal.&nbsp;<\/p>\n\n\n\n<p>As a text-based interface, you must type commands to accomplish your requirements. Next, these texts are processed and run by the program. These jobs are more accessible in a text-based interface than in a graphical interface.&nbsp;<\/p>\n\n\n\n<p>A CLI facilitates easy automation of any repetitive jobs. Although, the learning curve of such an interface is steeper because the visual prompts are not present.&nbsp;&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Install_Salesforce_CLI\"><\/span>Install Salesforce CLI<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>On your computer; you can install the CLI using operating system-specific artifacts.&nbsp;<\/p>\n\n\n\n<p>You can choose one method mentioned below on your computer.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_Install_the_CLI_on_macOS\"><\/span>1. Install the CLI on macOS<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>You can install Salesforce CLI on macOS using a .pkg file.&nbsp;<\/p>\n\n\n\n<p><strong>Steps to Follow:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Download the <strong>.pkg file<\/strong>.<\/li><li>Run the .pkg file, like double-clicking it from Finder, and reply to all the prompts. (Installation ends here.)<\/li><li>Next, restart your <strong>IDEs<\/strong> or <strong>Terminal windows<\/strong> to ensure the Salesforce CLI executables are now available.&nbsp;<\/li><\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Note: <\/strong>The macOS installer installs the sfdx and sf executables.&nbsp;<\/p><\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_Install_the_CLI_on_Windows\"><\/span>2. Install the CLI on Windows<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>You can install Salesforce CLI on Windows using a .exe file.&nbsp;<\/p>\n\n\n\n<p><strong>Steps to Follow:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Download the <strong>.exe<\/strong> file.<\/li><li>Run the .exe file, like double-clicking it from Windows Explorer, and reply to all the prompts. (Installation ends here.)<\/li><li>Next, restart your <strong>PowerShell windows<\/strong>, <strong>command prompts<\/strong>, or <strong>IDEs <\/strong>to ensure the Salesforce CLI executables are now available.&nbsp;<\/li><\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Note: <\/strong>The Windows installer installs the sfdx and sf executables.&nbsp;<\/p><\/blockquote>\n\n\n\n<p><strong>Warning by Salesforce<\/strong><\/p>\n\n\n\n<p>Salesforce CLI performs at its best within the native Windows command prompt (cmd.exe) and Microsoft Windows PowerShell. It\u2019s not recommended to use Salesforce CLI with a Linux terminal emulator, like Windows 10 Subsystem for Linux, MinGW, or Cygwin, as bug support is limited.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Install_the_CLI_with_a_TAR_File\"><\/span>3. Install the CLI with a TAR File<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Salesforce CLI offers TAR files that one can install on all the supported operating systems. On Linux, you can install Salesforce CLI in just one way, with a TAR file.&nbsp;<\/p>\n\n\n\n<p>You can use the below table to emerge with the unversioned URLs for the TAR file (.tar.xz or .tar.gz) for your OS. When Salesforce releases a new version of Salesforce CLI each week, they update these URLs also. This way, they are always ready with the latest version.&nbsp;<\/p>\n\n\n\n<p>Universal URLs are specifically best for CLI use cases.&nbsp;<\/p>\n\n\n\n<p>The below table contains manifest URLs that reveal the versioned URL for every line.<\/p>\n\n\n\n<figure class=\"wp-block-table aligncenter is-style-stripes\"><table><thead><tr><th>Operating System<\/th><th>Tar Files<\/th><th>Manifest<\/th><\/tr><\/thead><tbody><tr><td><strong>macOS<\/strong><\/td><td>sfdx-darwin-x64.tar.gzsfdx-darwin-x64.tar.xz<\/td><td>sfdx-darwin-x64-buildmanifest<\/td><\/tr><tr><td><strong>Windows<\/strong><\/td><td>sfdx-win32-x64.tar.gzsfdx-win32-x64.tar.xzsfdx-win32-x86.tar.gzsfdx-win32-x86.tar.xz<\/td><td>sfdx-win32-x64-buildmanifestsfdx-win32-x86-buildmanifest<\/td><\/tr><tr><td><strong>Linux<\/strong><\/td><td>sfdx-linux-x64.tar.gzsfdx-linux-x64.tar.xzsfdx-linux-arm.tar.gzsfdx-linux-arm.tar.xz<\/td><td>sfdx-linux-x64-buildmanifestsfdx-linux-arm-buildmanifest<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"4_Install_the_CLI_with_npm\"><\/span>4. Install the CLI with npm<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>You can use npm to install Salesforce CLI if you have already installed Node.js on your computer. This method will let you install Salesforce CLI from the command line and can be specifically useful for continuous integration (CI) use cases.&nbsp;<\/p>\n\n\n\n<p>You can follow this method to install CLI if:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>You don&#8217;t have administrator permissions on your workstation or<\/li><li>Group policy blocks the CLI installation and updates.&nbsp;<\/li><\/ul>\n\n\n\n<p>Installing the CLI with npm doesn&#8217;t need root permissions.&nbsp;<\/p>\n\n\n\n<p><strong>Steps to Follow<\/strong><\/p>\n\n\n\n<p>Be sure Node.js&#8217;s long-term support (Active LTS) version is installed on your computer.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>To install the LTS version, jump to&nbsp;<\/li><\/ul>\n\n\n\n<p><a href=\"https:\/\/nodejs.org\/en\/download\/.\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Noderjs.Org Download<\/a><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Run:&nbsp;<\/li><\/ul>\n\n\n\n<p><strong>node &#8211;version (to check your version number)<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Run:&nbsp;<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>npm install sfdx-cli --global (to install the sfdx executable)<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Run:<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>npm install @salesforce\/cli --global (to install the sf executable)<\/code><\/pre>\n\n\n\n<p>When installing the CLI using npm, if you get a permission error, it&#8217;s recommended not to use sudu.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"5_Install_Older_Versions_of_Salesforce_CLI\"><\/span>5. <strong>Install Older Versions of Salesforce CLI<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>It&#8217;s recommended that you can use Salesforce CLI&#8217;s release candidate or the latest version.&nbsp;<\/p>\n\n\n\n<p>Obviously, you may sometimes need an older version of the CLI. So, for that, Salesforce publishes JSON files that list the download URLs for the installers&#8217; and Tar files&#8217; latest versions for every supported OS.&nbsp;<\/p>\n\n\n\n<p>Every week, Salesforce adds a recently released version to the list; the version stays on the list for about 20 weeks. They keep the TAR and installer files for a minimum of 40 weeks.&nbsp;<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Note:<\/strong> Salesforce will keep each old version of the sfdx-cli npm package.<\/p><\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"6_Verify_Your_Installation\"><\/span>6. Verify Your Installation<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>To check if you have correctly installed the Salesforce CLI installation, you need to verify it.&nbsp;<\/p>\n\n\n\n<p><strong>Steps to Follow<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Run the below command to verify the version you installed:<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>sfdx --version\nsfdx-cli\/7.144.0 darwin-x64 node-v16.14.2<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Next, run the below command to see the installed plugins and their versions.&nbsp;<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>sfdx plugins --core\n\n@oclif\/plugin-autocomplete 0.3.0 (core)\n@oclif\/plugin-commands 1.3.0 (core)\n@oclif\/plugin-help 3.3.1 (core)\n@oclif\/plugin-not-found 1.2.6 (core)\n@oclif\/plugin-plugins 1.10.11 (core)\n@oclif\/plugin-update 1.5.0 (core)\n@oclif\/plugin-warn-if-update-available 2.0.4 (core)\n@oclif\/plugin-which 1.0.4 (core)\n@salesforce\/sfdx-plugin-lwc-test 0.1.7 (core)\nalias 1.2.1 (core)\napex 0.11.0 (core)\nauth 1.8.1 (core)\ncommunity 1.1.4 (core)\nconfig 1.3.23 (core)\ncustom-metadata 1.0.12 (core)\ndata 0.6.10 (core)\ngenerator 1.2.2 (core)\ninfo 1.3.1 (core)\nlimits 1.3.0 (core)\norg 1.11.2 (core)\nsalesforce-alm 54.0.2 (core)\nschema 1.1.0 (core)\nsfdx-cli 7.144.0 (core)\nsource 1.9.0 (core)\ntelemetry 1.4.0 (core)\ntemplates 54.3.0 (core)\nuser 1.7.1 (core)<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Run the below command to show your current Salesforce CLI version&#8217;s release notes:<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>sfdx whatsnew<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Uses_of_Salesforce_CLI\"><\/span>Uses of Salesforce CLI<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>You can use Salesforce CLI as follows:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>It helps accumulate essential tools needed for the development and perform commands.&nbsp;<\/li><li>You can use it to create and install packages.&nbsp;<\/li><li>Users can use it to create and execute tests.<\/li><li>You can sync sources to and from scratch organizations.&nbsp;<\/li><li>Export and import data.<\/li><li>Also, to create and manage organizations.&nbsp;<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Ways_to_Use_the_Salesforce_CLI\"><\/span>3 Ways to Use the Salesforce CLI<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Let&#8217;s check out some real-life scenarios and use-cases where one can use the Salesforce CLI to increase efficiency.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_Retrieve_and_Deploy_Metadata\"><\/span>1. <strong>Retrieve and Deploy Metadata<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Let&#8217;s take a scenario to understand it better.<\/p>\n\n\n\n<p>Suppose you are a <a href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/how-to-choose-best-salesforce-consulting-partner.html\">Salesforce Consultant<\/a>. Recently, you have accomplished a project including a flow creation enclosed in the utility bar. The aim was to facilitate end users to raise cases and requests for assistance rapidly.\u00a0<\/p>\n\n\n\n<p>You achieved the user testing and deployed it using changesets from the testing environment to the production.&nbsp;<\/p>\n\n\n\n<p>Later, a similar scenario appeared in another project after a few weeks with some minute differences. Despite redeveloping the same feature again, you <a href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/reasons-to-choose-salesforce-for-business.html\">choose to use the Salesforce<\/a> CLI to stimulate this feature by deploying your known, tried-and-tested solution for the previous org before changing it to fulfill the client&#8217;s specific requirements.\u00a0<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_Import_and_Export_Data\"><\/span>2. Import and Export Data<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>In this case, you have a UAT environment running on a partial copy sandbox.&nbsp;<\/p>\n\n\n\n<p>You have developed a perfect set of test accounts and contact that you want to move from partial copy into various new development sandboxes.&nbsp;<\/p>\n\n\n\n<p>Although the sandbox types are different, you can&#8217;t only build a new sandbox using the UAT environment as your source.&nbsp;<\/p>\n\n\n\n<p>You could export the data and then import it to your development sandboxes. But, you will need to perform with VLOOKUPS or external IDs within Excel each time. It&#8217;s not scalable and also not easy.&nbsp;<\/p>\n\n\n\n<p>So, you can use the Salesforce CLI to speed up things and make them scalable.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Sandbox_Creation\"><\/span>3. <strong>Sandbox Creation<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The CLI includes the<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>force:org:create command<\/code><\/pre>\n\n\n\n<p>that&#8217;s used to create scratch orgs.&nbsp;<\/p>\n\n\n\n<p>You can use it to create sandboxes, also. And for that, you should use various parameters chiefly defined as key-value pairs within your command.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary&nbsp;<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Hopefully, you find this post helpful to learn about Salesforce CLI and use it to streamline your jobs.&nbsp;<\/p>\n\n\n\n<p>You can <a href=\"https:\/\/multisitelocal.ezxdemo.com\/salesforce-consulting.html\">connect with a Salesforce consultant<\/a> to get more details and speed up your development process.\u00a0<\/p>\n\n\n\n<div class=\"wp-block-genesis-blocks-gb-accordion gb-block-accordion\"><details><summary class=\"gb-accordion-title\"><strong>You might also like to read<\/strong><\/summary><div class=\"gb-accordion-text\">\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/salesforce-launches-nft-cloud.html\">Salesforce Steps in NFT Metaverse with the Launch of NFT Cloud<\/a><\/li><li><a href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/salesforce-marketing-cloud.html\">What is Salesforce Marketing Cloud?<\/a><\/li><li><a href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/what-is-full-stack-development.html\">What Is Full Stack Development?<\/a><\/li><li><a href=\"https:\/\/multisitelocal.ezxdemo.com\/blog\/salesforce-marketing-cloud-api-using-postman.html\">Explore the Salesforce Marketing Cloud API using Postman<\/a><\/li><\/ul>\n<\/div><\/details><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Salesforce CLI &#8211; A Productivity Enhancer for Developers The Salesforce CLI is a robust tool for admins also, not useful just for developers. You can use it to build and manage orgs, create and install packages, sync sources to and from orgs, and more.&nbsp; This detail is not sufficient to learn about the Salesforce CLI.&nbsp;<\/p>\n","protected":false},"author":39,"featured_media":33289,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"MSN_Categories":"Uncategorized","MSN_Publish_Option":false,"MSN_Is_Local_News":false,"MSN_Is_AIAC_Included":"Empty","MSN_Location":"[]","MSN_Add_Feature_Img_On_Top_Of_Post":false,"MSN_Has_Custom_Author":false,"MSN_Custom_Author":"","MSN_Has_Custom_Canonical_Url":false,"MSN_Custom_Canonical_Url":"","_lmt_disableupdate":"no","_lmt_disable":"no","footnotes":""},"categories":[87],"tags":[],"class_list":{"0":"post-33270","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-salesforce-development"},"modified_by":"Marketing EmizenTech","featured_image_src":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/salesforce-cli-via-mac-windows-tar-and-npm-600x400.jpg","featured_image_src_square":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/salesforce-cli-via-mac-windows-tar-and-npm-600x600.jpg","author_info":{"display_name":"Virendra Sharma","author_link":"https:\/\/multisitelocal.ezxdemo.com\/blog\/author\/salesforce"},"_links":{"self":[{"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/posts\/33270","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/users\/39"}],"replies":[{"embeddable":true,"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/comments?post=33270"}],"version-history":[{"count":0,"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/posts\/33270\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/media\/33289"}],"wp:attachment":[{"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/media?parent=33270"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/categories?post=33270"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/tags?post=33270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}