Sunday 15 December 2013

How to start using force.com CLI


Here is a small instruction to start using force.com CLI for windows. Download force.com CLI executable from https://force-cli.heroku.com/.


After downloaded the executable file. Open the force.exe program from the command line.
Lets say if you have downloaded into D drive, open the force.exe from command prompt.


Open command prompt


  • type cmd in run
  • type cd d:\
  • then enter force.exe


Now you have loaded force.com CLI in command prompt.It displays all the available commands in the command line.


Login to salesforce to start using it on your salesforce instance.


Type force login


It will open login.salesforce.com in the browser. If you want to connect to our sandbox instance, then after opening the browser window replace the login.salesforce.com to test.salesforce.com. Do not remove/change the remaining strings in the url.


Once you have logged in successfully you can start using other commands from the command line.


The command i found very exciting is the export command. It will export all your metadata from your salesforce instance just by one line of code.


force export


Hope you may enjoy using force.com CLI..!!

13 comments:

  1. Hello George, I saw your comment on a Salesforce Community post about Apex CPU Time Limit error, is there any chance (when time permits), you can take a look at this link about an error that I am having? - https://developer.salesforce.com/forums/?id=906F0000000AXqhIAG&language=en

    Thank you!

    ReplyDelete
  2. Your providing such a valuabe information about studying..and also have some good key points to every

    student.
    Salesforce Interview Questions |

    Salesforce Training Videos

    ReplyDelete
  3. This blog explains the details about changing the ways of doing that business. That is understand well and doing some different process. Provides he best output of others. Thanks for this blog.
    Hadoop Training in Chennai

    ReplyDelete
  4. Great post! I am actually getting ready to across this information, It's very helpful for this blog.Also great with all of the valuable information you have Keep up the good work you are doing well.

    J2ee training in chennai

    ReplyDelete

  5. I feel happy about and I really like this learning more about this topic. keep sharing your information regularly for my future reference.

    Dot Net Training Institute in Chennai


    ReplyDelete

  6. Truely a very good article on how to handle the future technology. After reading your post,thanks for taking the time to discuss this content.



    Dot Net Training in Chennai Velachery

    ReplyDelete
  7. I’ve been browsing on-line greater than three hours today, but I never discovered any attention-grabbing article like yours. It is beautiful worth sufficient for me. Personally, if all webmasters and bloggers made good content material as you did, the net will be a lot more helpful than ever before.

    SMO Services Chennai

    ReplyDelete
  8. Superb explanation & it's too clear to understand the concept as well, keep sharing admin with some updated information with right examples.Keep update more posts.

    SEO Training in Chennai

    ReplyDelete
  9. I cant wait to check out some of these blogs! I’ve really wanted to start learning more about cars and auto repairs lately and I think this will help a lot. I think it can save my family some money if we

    knew how to do some repairs at home.! Thanks again for all the options.

    car cleaning services in mumbai

    ReplyDelete
  10. Really, these quotes are the holistic approach towards mindfulness. In fact, all of your posts are. Proudly saying I’m getting fruitfulness out of it what you write and share. Thank you so much to both of you.
    New Zealand education Consultants in Chennai | Study in Europe Consultants in Chennai | Study in Canada Education Consultants in Chennai

    ReplyDelete
  11. Thank you for sharing such a nice and interesting blog with us. I have seen that all will say the same thing repeatedly. But in your blog, I had a chance to get some useful and unique information. I would like to suggest your blog in my dude circle.
    Hadoop Training in Chennai

    ReplyDelete
  12. I must thank you for the efforts you have put in penning this site. I am hoping to check out the same high-grade content by you later on as well. In truth, your creative writing abilities has inspired me to get my own, personal blog now..
    Office Interiors in Chennai
    Home Interior Decorators in Chennai

    ReplyDelete
  13. There are many interesting information included and i can easily understand all given information.I post something on my blog to post something, or wait to post something worth saying. Keep update more information....
    RFID Solutions
    Athletic Management Software
    CCTV Camera Dealers in Chennai
    CCTV Camera Installation in Chennai

    ReplyDelete