{"_id":"5516e49f5a2a4f1700d4f5f8","version":{"_id":"54d5635532d98b0d00384afb","project":"54d53c7b23010a0d001aca0c","__v":10,"forked_from":"54d53c7c23010a0d001aca0f","createdAt":"2015-02-07T00:59:01.934Z","releaseDate":"2015-02-07T00:59:01.934Z","categories":["54d5635632d98b0d00384afc","54d5635632d98b0d00384afd","54d5635632d98b0d00384afe","54d5635632d98b0d00384aff","54d5635632d98b0d00384b00","54d5635632d98b0d00384b01","54d5635632d98b0d00384b02","54d652097e05890d006f153e","54dd1315ca1e5219007e9daa","54e21e2b22de1c230094b147","54e68e62a43fe13500db3879","54fa1d3fe7a0ba2f00306309","551c453a23a1ee190034d19a","551df586e52a0b23000c62b6","551f39be6886f8230055f02a","55a6720751457325000e4d97"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"0.1.0","version":"0.1"},"user":"54cfa8e1a8a4fd0d00b7fd1d","project":"54d53c7b23010a0d001aca0c","__v":11,"category":{"_id":"54d5635632d98b0d00384afc","__v":5,"pages":["54d5635732d98b0d00384b18","54d5635732d98b0d00384b19","54d5635732d98b0d00384b1a","54d5635732d98b0d00384b1b","54d5635732d98b0d00384b1c","54d5635732d98b0d00384b1d","54d5635732d98b0d00384b1e","54d5635732d98b0d00384b1f","54d5689d7e05890d006f14ea","54d8243a0100e20d00ddd57b","5516e49f5a2a4f1700d4f5f8","552d5437d048dd0d00f36e68"],"version":"54d5635532d98b0d00384afb","project":"54d53c7b23010a0d001aca0c","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-02-06T23:43:10.191Z","from_sync":false,"order":0,"slug":"getting-started","title":"Getting Started"},"parentDoc":null,"updates":["55524a51953c9c0d00f507a6","576eaf75560eef0e00cd307b"],"next":{"pages":[],"description":""},"createdAt":"2015-03-28T17:27:59.257Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":6,"body":"You can run the Cloud9 SDK as a stand alone application that runs inside [nw.js (aka node-webkit)](http://nwjs.io/). The \"Cloud9 Desktop\" version is not yet announced and is available to you as an early preview as part of the SDK.\n\n# Setting up the SDK\n\nDownload the SDK with the following command:\n\n```\ngit clone https://github.com/c9/core.git c9sdk\n```\n\nThis will clone the repository into the `c9sdk` directory. To install the dependencies of the SDK run the following commands:\n\n```\ncd c9sdk\n./scripts/install-sdk.sh\n```\n\nYou can run the `install-sdk.sh` script also to update the SDK to the latest version.\n\n# Set up nw.js in debug mode\n\nTo create the debug build of Cloud9 Desktop issue the following command.\n\n```\nscripts/setup-local-dev.sh\n```\n\nThen wait until it's complete.\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"You only need to do this once\",\n  \"body\": \"This build will use the files from the repo, so you only need this once and then every time we update nw.js, which isn't that often.\"\n}\n[/block]\n# Starting Cloud9 Desktop\n\nOn Linux run the following command in a terminal:\n\n```\nbuild/Cloud9-dev-linux/nw\n```\n\nOn Mac OS X issue the following command to start Cloud9 Desktop:\n\n```\nbuild/Cloud9-dev.app/Contents/MacOS/node-webkit\n```\n\nAlternatively you can double click the `build/Cloud9-dev.app` in the finder.\n\nOn Windows launch \n\n```\nbuild\\win32-dev\\bin\\Cloud9.exe\n```\n\nEither by double clicking on it or from the command line.\n\nPass `--packed` and `--no-devtools` arguments to the Cloud9 executable to load client in packed mode and not open devtools on startup.","excerpt":"","slug":"running-cloud9-desktop","type":"basic","title":"Running Cloud9 Desktop"}

Running Cloud9 Desktop


You can run the Cloud9 SDK as a stand alone application that runs inside [nw.js (aka node-webkit)](http://nwjs.io/). The "Cloud9 Desktop" version is not yet announced and is available to you as an early preview as part of the SDK. # Setting up the SDK Download the SDK with the following command: ``` git clone https://github.com/c9/core.git c9sdk ``` This will clone the repository into the `c9sdk` directory. To install the dependencies of the SDK run the following commands: ``` cd c9sdk ./scripts/install-sdk.sh ``` You can run the `install-sdk.sh` script also to update the SDK to the latest version. # Set up nw.js in debug mode To create the debug build of Cloud9 Desktop issue the following command. ``` scripts/setup-local-dev.sh ``` Then wait until it's complete. [block:callout] { "type": "warning", "title": "You only need to do this once", "body": "This build will use the files from the repo, so you only need this once and then every time we update nw.js, which isn't that often." } [/block] # Starting Cloud9 Desktop On Linux run the following command in a terminal: ``` build/Cloud9-dev-linux/nw ``` On Mac OS X issue the following command to start Cloud9 Desktop: ``` build/Cloud9-dev.app/Contents/MacOS/node-webkit ``` Alternatively you can double click the `build/Cloud9-dev.app` in the finder. On Windows launch ``` build\win32-dev\bin\Cloud9.exe ``` Either by double clicking on it or from the command line. Pass `--packed` and `--no-devtools` arguments to the Cloud9 executable to load client in packed mode and not open devtools on startup.