{"componentChunkName":"component---src-templates-handbook-tsx","path":"/docs/handbook/nightly-builds.html","result":{"data":{"markdownRemark":{"id":"b43ebdf5-2e68-5e64-8440-93557fa766ff","excerpt":"A nightly build from the TypeScript’s master branch is published by midnight PST to NPM and NuGet.\nHere is how you can get it and use it with your tools. Using…","html":"<p>A nightly build from the <a href=\"https://github.com/Microsoft/TypeScript/tree/master\">TypeScript’s <code>master</code></a> branch is published by midnight PST to NPM and NuGet.\nHere is how you can get it and use it with your tools.</p>\n<h2 id=\"using-npm\"><a href=\"#using-npm\" aria-label=\"using npm permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Using npm</h2>\n<pre class=\"shiki\"><div class=\"language-id\">shell</div><div class='code-container'><code><span style=\"color: #000000\">npm install -g typescript@next</span></code></div></pre>\n<h2 id=\"using-nuget-with-msbuild\"><a href=\"#using-nuget-with-msbuild\" aria-label=\"using nuget with msbuild permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Using NuGet with MSBuild</h2>\n<blockquote>\n<p>Note: You’ll need to configure your project to use the NuGet packages.\nPlease see <a href=\"https://github.com/Microsoft/TypeScript/wiki/Configuring-MSBuild-projects-to-use-NuGet\">Configuring MSBuild projects to use NuGet</a> for more information.</p>\n</blockquote>\n<p>The nightlies are available on <a href=\"https://www.myget.org/gallery/typescript-preview\">www.myget.org</a>.</p>\n<p>There are two packages:</p>\n<ul>\n<li><code>Microsoft.TypeScript.Compiler</code>: Tools only (<code>tsc.exe</code>, <code>lib.d.ts</code>, etc.) .</li>\n<li><code>Microsoft.TypeScript.MSBuild</code>: Tools as above, as well as MSBuild tasks and targets (<code>Microsoft.TypeScript.targets</code>, <code>Microsoft.TypeScript.Default.props</code>, etc.)</li>\n</ul>\n<h2 id=\"updating-your-ide-to-use-the-nightly-builds\"><a href=\"#updating-your-ide-to-use-the-nightly-builds\" aria-label=\"updating your ide to use the nightly builds permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Updating your IDE to use the nightly builds</h2>\n<p>You can also update your IDE to use the nightly drop.\nFirst you will need to install the package through npm.\nYou can either install the npm package globally or to a local <code>node_modules</code> folder.</p>\n<p>The rest of this section assumes <code>typescript@next</code> is already installed.</p>\n<h3 id=\"visual-studio-code\"><a href=\"#visual-studio-code\" aria-label=\"visual studio code permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Visual Studio Code</h3>\n<p>Update <code>.vscode/settings.json</code> with the following:</p>\n<pre class=\"shiki\"><div class=\"language-id\">json</div><div class='code-container'><code><span style=\"color: #A31515\">\"typescript.tsdk\"</span><span style=\"color: #000000\">: </span><span style=\"color: #A31515\">\"&lt;path to your folder&gt;/node_modules/typescript/lib\"</span></code></div></pre>\n<p>More information is available at <a href=\"https://code.visualstudio.com/Docs/languages/typescript#_using-newer-typescript-versions\">VSCode documentation</a>.</p>\n<h3 id=\"sublime-text\"><a href=\"#sublime-text\" aria-label=\"sublime text permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Sublime Text</h3>\n<p>Update the <code>Settings - User</code> file with the following:</p>\n<pre class=\"shiki\"><div class=\"language-id\">json</div><div class='code-container'><code><span style=\"color: #A31515\">\"typescript_tsdk\"</span><span style=\"color: #000000\">: </span><span style=\"color: #A31515\">\"&lt;path to your folder&gt;/node_modules/typescript/lib\"</span></code></div></pre>\n<p>More information is available at the <a href=\"https://github.com/Microsoft/TypeScript-Sublime-Plugin#installation\">TypeScript Plugin for Sublime Text installation documentation</a>.</p>\n<h3 id=\"visual-studio-2013-and-2015\"><a href=\"#visual-studio-2013-and-2015\" aria-label=\"visual studio 2013 and 2015 permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Visual Studio 2013 and 2015</h3>\n<blockquote>\n<p>Note: Most changes do not require you to install a new version of the VS TypeScript plugin.</p>\n</blockquote>\n<p>The nightly build currently does not include the full plugin setup, but we are working on publishing an installer on a nightly basis as well.</p>\n<ol>\n<li>\n<p>Download the <a href=\"https://github.com/Microsoft/TypeScript/blob/master/scripts/VSDevMode.ps1\">VSDevMode.ps1</a> script.</p>\n<blockquote>\n<p>Also see our wiki page on <a href=\"https://github.com/Microsoft/TypeScript/wiki/Dev-Mode-in-Visual-Studio#using-a-custom-language-service-file\">using a custom language service file</a>.</p>\n</blockquote>\n</li>\n<li>From a PowerShell command window, run:</li>\n</ol>\n<p>  For VS 2015:</p>\n<pre><code class=\"language-posh\">VSDevMode.ps1 14 -tsScript &#x3C;path to your folder>/node_modules/typescript/lib\n</code></pre>\n<p>  For VS 2013:</p>\n<pre><code class=\"language-posh\">VSDevMode.ps1 12 -tsScript &#x3C;path to your folder>/node_modules/typescript/lib\n</code></pre>\n<h3 id=\"intellij-idea-mac\"><a href=\"#intellij-idea-mac\" aria-label=\"intellij idea mac permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>IntelliJ IDEA (Mac)</h3>\n<p>Go to <code>Preferences</code> > <code>Languages &#x26; Frameworks</code> > <code>TypeScript</code>:</p>\n<blockquote>\n<p>TypeScript Version: If you installed with npm: <code>/usr/local/lib/node_modules/typescript/lib</code></p>\n</blockquote>\n<h3 id=\"intellij-idea-windows\"><a href=\"#intellij-idea-windows\" aria-label=\"intellij idea windows permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>IntelliJ IDEA (Windows)</h3>\n<p>Go to <code>File</code> > <code>Settings</code> > <code>Languages &#x26; Frameworks</code> > <code>TypeScript</code>:</p>\n<blockquote>\n<p>TypeScript Version: If you installed with npm: <code>C:\\Users\\USERNAME\\AppData\\Roaming\\npm\\node_modules\\typescript\\lib</code></p>\n</blockquote>","headings":[{"value":"Using npm","depth":2},{"value":"Using NuGet with MSBuild","depth":2},{"value":"Updating your IDE to use the nightly builds","depth":2},{"value":"Visual Studio Code","depth":3},{"value":"Sublime Text","depth":3},{"value":"Visual Studio 2013 and 2015","depth":3},{"value":"IntelliJ IDEA (Mac)","depth":3},{"value":"IntelliJ IDEA (Windows)","depth":3}],"frontmatter":{"permalink":"/docs/handbook/nightly-builds.html","title":"Nightly Builds"}}},"pageContext":{"slug":"/docs/handbook/nightly-builds.html","isOldHandbook":true}}}