Get started with Zoho Sheet CLI

Get started with Zoho Sheet CLI

What is a CLI

A Command Line Interface, or CLI, is a text-based user interface, one of the oldest ways humans used to interact with computers. Most of the apps we use now are graphics-based; we tap icons and click buttons which is why they are called Graphical User Interfaces, or GUIs. A CLI only has text; you type commands into a terminal and the computer runs them.

What can you do with Zoho Sheet CLI

You can use Zoho Sheet CLI(zs-cli) to create and edit spreadsheets from scratch, build pivot tables and charts, and apply formatting, entirely with commands you type into your terminal.
You can also run zs-cli from CI/CD pipelines to generate reports and dashboards repeatedly.

How to install Zoho Sheet CLI

Zoho Sheet CLI is installed using npm, so you'll need Node.js and npm on your machine first. 
  1. Open your terminal and run these commands to check whether you already have them:
    node -v
    npm -v
  2. If you don't have them yet, you can follow npm's guide on downloading and installing Node.js and npm.
  3. Once Node.js is installed on your machine, close your terminal and open a new one. Run this command to install Zoho Sheet CLI:
    npm install -g @zohocorporation/zs-cli
Notes
Run zs-cli help. If the CLI is installed, you'll see a list of commands Zoho Sheet CLI supports.


Sample Commands

If you're new to using a CLI, here are the commands you need to get started. Type zs-cli in your terminal to start a session, then run:
  1. open "D:\Documents\Budget.xlsx"
  2. cell set A1 "Item"
  3. cell set B1 "Cost"
  4. cell set A2 "Laptop"
  5. cell set B2 "62000"
  6. cell set A3 "Total"
  7. cell set B3 --formula =SUM(B2:B2)
  8. save --as budget.xlsx
  9. exit

Where your files are saved

Zoho Sheet CLI saves the spreadsheets you create as .xlsx files. The file is saved to the folder your terminal is currently in. You can open your sheet using the Zoho Sheet desktop app or import the .xlsx file into the web app.




        Create. Review. Publish.

        Write, edit, collaborate on, and publish documents to different content management platforms.

        Get Started Now


          Access your files securely from anywhere

            Zoho CRM Training Programs

            Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

            Zoho CRM Training
              Redefine the way you work
              with Zoho Workplace

                Zoho DataPrep Personalized Demo

                If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

                Zoho CRM Training

                  Create, share, and deliver

                  beautiful slides from anywhere.

                  Get Started Now


                    Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                    BOOK A SESSION







                                Quick LinksWorkflow AutomationData Collection
                                Web FormsEnterpriseOnline Data Collection Tool
                                Embeddable FormsBankingBegin Data Collection
                                Interactive FormsWorkplaceData Collection App
                                CRM FormsCustomer ServiceAccessible Forms
                                Digital FormsMarketingForms for Small Business
                                HTML FormsEducationForms for Enterprise
                                Contact FormsE-commerceForms for any business
                                Lead Generation FormsHealthcareForms for Startups
                                Wordpress FormsCustomer onboardingForms for Small Business
                                No Code FormsConstructionRSVP tool for holidays
                                Free FormsTravelFeatures for Order Forms
                                Prefill FormsNon-Profit

                                Intake FormsLegal
                                Mobile App
                                Form DesignerHR
                                Mobile Forms
                                Card FormsFoodOffline Forms
                                Assign FormsPhotographyMobile Forms Features
                                Translate FormsReal EstateKiosk in Mobile Forms
                                Electronic Forms
                                Drag & drop form builder

                                Notification Emails for FormsAlternativesSecurity & Compliance
                                Holiday FormsGoogle Forms alternative GDPR
                                Form to PDFJotform alternativeHIPAA Forms
                                Email FormsFormstack alternativeEncrypted Forms

                                Wufoo alternativeSecure Forms

                                TypeformWCAG

                                  Zoho FSM Video Tutorials


                                        All-in-one knowledge management and training platform for your employees and customers.

                                                  Create. Review. Publish.

                                                  Write, edit, collaborate on, and publish documents to different content management platforms.

                                                  Get Started Now




                                                                    You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                                        Manage your brands on social media


                                                                          • Desk Community Learning Series


                                                                          • Digest


                                                                          • Functions


                                                                          • Meetups


                                                                          • Kbase


                                                                          • Resources


                                                                          • Glossary


                                                                          • Desk Marketplace


                                                                          • MVP Corner


                                                                          • Word of the Day


                                                                          • Ask the Experts


                                                                            Zoho Sheet Resources

                                                                             

                                                                                Zoho Forms Resources


                                                                                  Secure your business
                                                                                  communication with Zoho Mail


                                                                                  Mail on the move with
                                                                                  Zoho Mail mobile application

                                                                                    Stay on top of your schedule
                                                                                    at all times


                                                                                    Carry your calendar with you
                                                                                    Anytime, anywhere




                                                                                          Zoho Sign Resources

                                                                                            Sign, Paperless!

                                                                                            Sign and send business documents on the go!

                                                                                            Get Started Now




                                                                                                    Zoho TeamInbox Resources





                                                                                                              Zoho DataPrep Demo

                                                                                                              Get a personalized demo or POC

                                                                                                              REGISTER NOW


                                                                                                                Design. Discuss. Deliver.

                                                                                                                Create visually engaging stories with Zoho Show.

                                                                                                                Get Started Now








                                                                                                                                    • Related Articles

                                                                                                                                    • Working with Zoho Sheet

                                                                                                                                      Here are a few things that we'd like for you to know about Zoho Sheet as you get started: Maximum file size allowed for import 50 MB Maximum number of rows 262144 Maximum number of columns 2048 Maximum number of cells 10 Million Maximum number of ...
                                                                                                                                    • SHEET

                                                                                                                                      Returns the sheet number for a given cell reference. Syntax SHEET(cell_ref) cell_ref: The cell reference whose sheet number you want. If omitted, it returns the sheet number of the current cell containing the formula. E.g. SHEET.A1 Remarks The ...
                                                                                                                                    • Using Web Forms in Zoho Sheet

                                                                                                                                      Web Forms in Zoho Sheet allow you to collect data from customers or collaborators through forms easily, with the data automatically saved in your spreadsheet. This simplifies direct data saving, eliminating the need for a third-party form submission ...
                                                                                                                                    • Workflows in Zoho Sheet

                                                                                                                                      Workflows in Zoho Sheet streamline the way your spreadsheet files move through different stages like review, approval, and finalizing without manually tracking the progress. Let's say you are working on a quarterly budget report and want it to be ...
                                                                                                                                    • Recalculate values in Zoho Sheet

                                                                                                                                      Click Edit > Recalculate or use the F9 key, all changes in data will be accounted for and formula cells will be updated. Every time you open or refresh a sheet containing formulas, the values will get automatically updated. However, if you wish to ...
                                                                                                                                      Wherever you are is as good as
                                                                                                                                      your workplace

                                                                                                                                        Resources

                                                                                                                                        Videos

                                                                                                                                        Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                                        eBooks

                                                                                                                                        Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                                        Webinars

                                                                                                                                        Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                                        CRM Tips

                                                                                                                                        Make the most of Zoho CRM with these useful tips.



                                                                                                                                          Zoho Show Resources