{"_id":"5619a39a13874c0d007038ee","user":"5617a0a4a410c90d00c612f4","version":{"_id":"5619a39913874c0d007038e9","project":"5617a1f5a410c90d00c612f5","__v":5,"createdAt":"2015-10-10T23:47:37.777Z","releaseDate":"2015-10-10T23:47:37.777Z","categories":["5619a39a13874c0d007038ea","5619a39a13874c0d007038eb","5619a39a13874c0d007038ec","5619a39a13874c0d007038ed","5651062a3b4d113500ed22d1","5651c89a852cfb3500a69830","565505ad055aa40d006f0ca7","56c219d8d3199a0d00694be6"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"Orange Arrow","version_clean":"0.2.0","version":"0.2"},"__v":16,"githubsync":"","category":{"_id":"5619a39a13874c0d007038ea","pages":["5619a39a13874c0d007038ee","5619a39a13874c0d007038ef","5619a39a13874c0d007038f0","5619a39a13874c0d007038f1","5651e95d1399ee3500167568","56550534e0d82b0d00ab5761","56550655055aa40d006f0ca9"],"project":"5617a1f5a410c90d00c612f5","__v":4,"version":"5619a39913874c0d007038e9","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-10-09T11:16:06.282Z","from_sync":false,"order":0,"slug":"general","title":"General"},"project":"5617a1f5a410c90d00c612f5","updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-10-09T11:16:07.518Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Installation\"\n}\n[/block]\n## Natron CLI\n\n```\n$ npm install natron-cli --global\n```\n\n## Natron\n\n```\n$ npm install natron --save-dev\n```\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Defining Tasks\"\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"API Stability\",\n  \"body\": \"The API of `v0.2` is currently in _beta_ and is not considered stable, so it may change in future revisions.\"\n}\n[/block]\n## Create a `Natronfile`\n\nFile: **`natronfile.js`**\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"module.exports.default = function () {\\n  console.log(\\\"Place code for your default task here\\\");\\n};\",\n      \"language\": \"javascript\",\n      \"name\": \"natronfile.js\"\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Using Transpilers\",\n  \"body\": \"Natron supports all kinds of languages that transpile to JavaScript, e.g. _ES2015_ or _CoffeScript_.\\nFor more information see [Using Transpilers](/docs/using-transpilers).\"\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Running Tasks\"\n}\n[/block]\n## Run the `default` Task\n\n```\n$ natron default\n```","excerpt":"","slug":"getting-started","type":"basic","title":"Getting Started"}
[block:api-header] { "type": "basic", "title": "Installation" } [/block] ## Natron CLI ``` $ npm install natron-cli --global ``` ## Natron ``` $ npm install natron --save-dev ``` [block:api-header] { "type": "basic", "title": "Defining Tasks" } [/block] [block:callout] { "type": "warning", "title": "API Stability", "body": "The API of `v0.2` is currently in _beta_ and is not considered stable, so it may change in future revisions." } [/block] ## Create a `Natronfile` File: **`natronfile.js`** [block:code] { "codes": [ { "code": "module.exports.default = function () {\n console.log(\"Place code for your default task here\");\n};", "language": "javascript", "name": "natronfile.js" } ] } [/block] [block:callout] { "type": "info", "title": "Using Transpilers", "body": "Natron supports all kinds of languages that transpile to JavaScript, e.g. _ES2015_ or _CoffeScript_.\nFor more information see [Using Transpilers](/docs/using-transpilers)." } [/block] [block:api-header] { "type": "basic", "title": "Running Tasks" } [/block] ## Run the `default` Task ``` $ natron default ```