Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 1.05 KB

windows-setup.md

File metadata and controls

25 lines (21 loc) · 1.05 KB

Osc-cli on Microsoft Windows

  • Install python:

    • Go to python website
    • Download latest python installer
    • Start installer and check "Add Python 3.x to PATH"
    • Select default installation
    • Once installed, click on "Disable path length limit"
    • For more details, see how to use python on windows
  • Install osc-cli:

    • Start a Windows cmd prompt
    • run pip install --upgrade pip
    • run pip install osc-sdk
  • Setup your credentials:

    • As you are in your cmd prompt, you should see C:\Users\YOUR_USER>
    • type mkdir .osc
    • In Windows Explorer, go to C:\Users\YOUR_USER\.osc
    • Import config.json in that folder (be sure to name the file config.json and not config.json.txt)
    • Edit config.json and setup your credentials
  • Run osc-cli:

    • Open a Windows cmd prompt
    • You should now be able to run osc-cli (e.g. osc-cli api ReadVolumes)