# codesandbox

> The CLI used for communicating with CodeSandbox

Latest version **2.2.3** (published 2021-04-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install codesandbox
pnpm add codesandbox
yarn add codesandbox
bun add codesandbox
```

Provides the command `codesandbox`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.2.3 |
| Published | 2021-04-28 |
| First published | 2017-06-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 21 |
| Unpacked size | 96.4 KB |
| Known vulnerabilities | 0 (+24 in 1 direct dependencies) |
| Install scripts | no |
| Author | Ives van Hoorne |
| Maintainers | christianalfoni, compuives |
| Keywords | codesandbox, cli, editor |

## Links

- npm: https://www.npmjs.com/package/codesandbox
- Repository: https://github.com/codesandbox-app/codesandbox-importers
- Homepage: https://github.com/codesandbox-app/codesandbox-importers#readme
- Issues: https://github.com/codesandbox-app/codesandbox-importers/issues
- npm.io page: https://npm.io/package/codesandbox

## Dependencies (21)

- [ms](https://npm.io/package/ms.md) ^2.0.0
- [ora](https://npm.io/package/ora.md) ^1.3.0
- [open](https://npm.io/package/open.md) ^6.3.0
- [axios](https://npm.io/package/axios.md) ^0.18.1
- [chalk](https://npm.io/package/chalk.md) ^2.4.1
- [humps](https://npm.io/package/humps.md) ^2.0.1
- [lodash](https://npm.io/package/lodash.md) ^4.17.5
- [pacote](https://npm.io/package/pacote.md) ^2.7.36
- [datauri](https://npm.io/package/datauri.md) ^3.0.0
- [shortid](https://npm.io/package/shortid.md) ^2.2.8
- [filesize](https://npm.io/package/filesize.md) ^3.6.1
- [fs-extra](https://npm.io/package/fs-extra.md) ^3.0.1
- [inquirer](https://npm.io/package/inquirer.md) ^6.2.2
- [commander](https://npm.io/package/commander.md) ^2.9.0
- [lz-string](https://npm.io/package/lz-string.md) ^1.4.4
- [git-branch](https://npm.io/package/git-branch.md) ^1.0.0
- [git-username](https://npm.io/package/git-username.md) ^0.5.0
- [git-repo-name](https://npm.io/package/git-repo-name.md) ^0.6.0
- [update-notifier](https://npm.io/package/update-notifier.md) ^2.2.0
- [codesandbox-import-utils](https://npm.io/package/codesandbox-import-utils.md) ^2.2.3
- [codesandbox-import-util-types](https://npm.io/package/codesandbox-import-util-types.md) ^2.2.3

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 2.2.3 (latest) — 2021-04-28
- 2.2.1 — 2020-09-22
- 2.2.0 — 2020-09-10
- 2.1.16 — 2020-06-12
- 2.1.14 — 2020-04-11
- 2.1.12 — 2020-02-09
- 2.1.11 — 2019-12-02
- 2.1.10 — 2019-08-29
- 2.1.9 — 2019-07-18
- 2.1.6 — 2019-05-16
- 2.1.5 — 2019-05-07
- 2.1.4 — 2019-04-15
- 2.1.3 — 2019-04-03
- 2.1.2 — 2019-04-03
- 2.1.1 — 2019-02-05
- … 50 more at https://npm.io/package/codesandbox/versions

## README

# codesandbox-cli

> Upload your templates to codesandbox with a single command 🏖️

[![Build Status](https://travis-ci.org/codesandbox/codesandbox-cli.svg?branch=master)](https://travis-ci.org/codesandbox/codesandbox-cli)

This is the command line interface for [CodeSandbox](https://codesandbox.io), an online editor
tailored for web applications.

## Quickstart

You can install the cli by running

```bash
# Install the cli
npm i -g codesandbox

# Go to your project
cd <path of your project>

# Deploy your project to CodeSandbox
codesandbox ./
```

## Future features

- Create a live connection with CodeSandbox using websockets so you can use your local editor

## Current limitations

- You need to be signed in to deploy, this is to prevent abuse

## Inspiration

I took a lot of inspiration from [now-cli](https://github.com/zeit/now-cli) and [preact-cli](https://github.com/developit/preact-cli) while building this.

---
_Source: https://npm.io/package/codesandbox · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
