Welcome to the new Box Support website. Check out all the details here on what’s changed.

Box CLI only available for Windows 10?

Answered
New post

Comments

3 comments

  • ramon_schouten

    Hi,

     

    My mistake, the above error message was referring to nuget.

    I fixed the nuget issue, but I keep getting the error 'Unknown command: 'box', whilst I have the BoxCLI installed.
    I am using the following command, and the BoxCLI folder with all files is stalled in C:\Program Files

    C:\Users\adm_ramon\Documents\Nuget\nuget.exe box configure environments add "C:\Users\adm_ramon\Downloads\56573075_hb48orej_config.json" --name CLI

    Any ideas?

    0
    Comment actions Permalink
  • mwiller

     It appears that you're trying to run 'box' as an argument for nuget.exe — that's not how the CLI is invoked.  The CLI is a standalone executable, which is generally called like this:

     

    box configure environments add "C:\Users\adm_ramon\Downloads\56573075_hb48orej_config.json" --name CLI
    0
    Comment actions Permalink
  • ramon_schouten

    ,
    Thanks for your reply, this is indeed what I did wrong!
    I feel kind of stupid for missing that, since I configured the CLI multiple times on my local pc already.

    Thanks!

    0
    Comment actions Permalink

Please sign in to leave a comment.