Box CLI for Linux

M03
New Contributor

Box CLI for Linux

Hi, is there a plan to have a linux version of the Box CLI?

I was pretty disappointed to see it was not supported.

13 REPLIES 13
Community Manager

Re: Box CLI for Linux

Hi @M03,

 

Thanks for your post and yes to confirm, there is no Box CLI for Linux, only for Mac and Windows.

 

As of now, there is no plan to support Box for Linux. We will provide an update either in our developer blog or Box Product News blog for more updates on this front.

Box Employee

Re: Box CLI for Linux

Hi @M03,

 

To follow up on what Howard mentioned, it is possible to build a binary for Linux. Here's the issue response on it with the walktrhough: https://github.com/box/boxcli/issues/55

First-time Contributor

Re: Box CLI for Linux

I am very disappointed by Box policy of not supporting Linux.
I was looking for a solution like Box for our company, but as 95% of our employees uses Windows I must leave Box.com out of my search and evaluation list.

 

Contributor

Re: Box CLI for Linux

Hi Howard,

 

Box CLI for Linux would be really useful as we're building all our folder / content automations as micro services hosted on Linux. Having access to the CLI in the development environment would be a useful addition.

 

Thanks,

 

Matt.

Occasional Contributor

Re: Box CLI for Linux

Why not compile the code that already have Android or Windows on Linux?
Why not use Embedded web platforms to have a Client in Linux?

Valued Contributor

Re: Box CLI for Linux

The latest version of the Box CLI (see https://developer.box.com/docs/box-cli#section-source-code) is compilable on other platforms, according to that page....and see https://github.com/box/boxcli/issues/55 for more details.

 

Hope that helps,

 

Ian

First-time Contributor

Re: Box CLI for Linux

I agree it would be great to have BOX for linux. How come you do MAC and ANDROID but not LINUX? That's a minor effort. My university is a major customer, but I will recommend they switch to a company that provides for all users.

bvt
New Contributor

Re: Box CLI for Linux

Any new news on the Linux front?

We are just starting a major collaborative project, and some folks have Linux.  I'll have to tell them we are staying with DropBox.

 

 

Highlighted
Box Employee

Re: Box CLI for Linux

Hi @bvt — I'm Matt, one of the engineers on the Box SDK team (we also support the Box CLI).  Packaging the Box CLI for Linux is on our roadmap and you can track progress on it via the relevant GitHub issue.  The CLI was recently rewritten and should run fine on Linux, but there are some technical issues we've been working through to get it packaged in an easy-to-consume format for various Linux distros.  Until we're able to fix that, you should be able to manually run the CLI on Linux, as others have done

First-time Contributor

Re: Box CLI for Linux

I made a small docker image that uses boxcli 2.0

 

FROM node:10
RUN curl -L -o tmp.zip https://github.com/box/boxcli/archive/v2.0.0.zip
RUN mkdir /box
RUN unzip tmp.zip -d /box
RUN rm -f myfile.zip
RUN cd /box/boxcli-2.0.0/ && npm install
#ADD config.json /box/config.json
#RUN cd /box/boxcli-2.0.0/ && ./bin/run configure:environments:add /box/config.json
RUN ln -s /box/boxcli-2.0.0/bin/run /usr/local/bin/box


The config.json is the file from your developer portal.

In our kubernetes cluster we have created a secret holding this file so it is not boundeled with the image.  You should also do something similar

bvt
New Contributor

Re: Box CLI for Linux

Hi,

thanks for the reply.  I was looking though this community's postings and the questions on a Linux client have been around since at 2015.  You mentioned the Linux client is on a roadmap to becoming a box feature.  How long is this road?  I joined your Box User REsearch, as suggested in a 2015 posting... But still have to go with DropBox for the next major project we are starting up.

thanks

Community Manager

Re: Box CLI for Linux

Hi @bvt,

 

Thanks for posting to the Box Community!

 

For clarification, are you asking about the Box CLI for Linux, or for a Linux version of Box Sync or Box Drive? As noted earlier in the thread by @mwiller, packaging the Box CLI for Linux is on our roadmap and you can track progress on it via the relevant GitHub issue.

 

If you are looking for where to add your voice to Linux for Box Sync or Box Drive, please vote for the suggestion you are most interested in on Box Pulse.

 

Thanks again for posting!

 

-Scott

 

 

 

bvt
New Contributor

Re: Box CLI for Linux

my apologies,

 

A "Box Drive" is what I'm looking for.  Similar to DropBox.  Matt showed me the CLI tools on github , but I'm not a programmer, just need a collaborative drive showing up in my Linux file manager such as Nautilus.  The github is a development package only for the CLI,  so the "Box Drive" feature isn't even on the roadmap?  Well, I guess that's what I wanted to know.