<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 7, 2015, at 11:26 AM, inbox only via swift-users <<a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I have a 2 questions:<div class="">1. How do I build swift from the source ?</div></div></div></blockquote><div><br class=""></div><div>The answer to this is in the README (<a href="https://github.com/apple/swift" class="">https://github.com/apple/swift</a>)</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="">2. How do I do the path thingie so I can run executable from the terminal using just "swift” ?</div></div></div></blockquote><div><br class=""></div><div>The answer to this is in the Download guide (<a href="https://swift.org/download/#linux" class="">https://swift.org/download/#linux</a>)</div><div><br class=""></div><div>specifically:</div><div><br class=""></div><div><ol style="box-sizing: border-box; margin: 1em 0px; padding: 0px 0px 0px 40px; list-style-position: initial; list-style-image: initial; color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, Arial, Verdana, sans-serif; font-size: 18px;" class=""><li style="box-sizing: border-box; margin: 0px; padding: 0px;" class=""><p style="box-sizing: border-box; margin: 0px 0px 1.5em; padding: 0px;" class="">Add the Swift toolchain to your path as follows:</p><div class="highlighter-rouge" style="box-sizing: border-box;"><pre class="highlight" style="box-sizing: border-box; margin-top: 0px; margin-bottom: 1.5em; padding: 1em; font-size: 14px; line-height: 18px; border: 1px solid rgb(230, 230, 230); background-color: rgb(255, 255, 255); overflow: scroll; font-family: Menlo, Consolas, Monaco, 'Courier New', monospace, serif;"><code style="box-sizing: border-box; font-size: 1em; font-family: Menlo, Consolas, Monaco, 'Courier New', monospace, serif; white-space: pre-line;" class=""><span class="gp" style="box-sizing: border-box; color: rgb(85, 85, 85);">$ </span><span class="nb" style="box-sizing: border-box; color: rgb(0, 134, 179);">export </span><span class="nv" style="box-sizing: border-box; color: teal;">PATH</span><span class="o" style="box-sizing: border-box; font-weight: bold;">=</span>/path/to/usr/bin:<span class="s2" style="box-sizing: border-box; color: rgb(221, 17, 68);">"</span><span class="k" style="box-sizing: border-box; font-weight: bold;">${</span><span class="nv" style="box-sizing: border-box; color: teal;">PATH</span><span class="k" style="box-sizing: border-box; font-weight: bold;">}</span><span class="s2" style="box-sizing: border-box; color: rgb(221, 17, 68);">"</span> </code></pre></div><p style="box-sizing: border-box; margin: 0px 0px 1.5em; padding: 0px;" class="">You can now execute the <code class="highlighter-rouge" style="box-sizing: border-box; font-size: 14px; font-family: Menlo, Consolas, Monaco, 'Courier New', monospace, serif; color: rgb(0, 0, 0); padding: 3px 8px; white-space: pre-line; border: 1px solid rgb(229, 229, 229); background-color: rgb(247, 247, 247);">swift</code> command to run the REPL or build Swift projects.</p></li></ol><div class="">- mish</div></div><br class=""><blockquote type="cite" class=""><div class="">
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=xTF6JWnt2pl7kNka7081D3VajDoXFZTI5JEuSuQLncqLsDPF87gL755Lg7JgglRUYrlBVyInj96IzfrvuJvC4AWp1drUaf09xMD0Ax-2BmABTSb-2Bme29eBAGPTE2WPO81rCBKDvKPHnygxbOghXBNtpDpzNL-2BnQTjgwfy-2FaVmzIbPYrsYPGjHslnErLXzOgeAqDATvZwc-2FHkrzqnvtLULQSUu1H38KnMCqT9sNvxU1Gn4-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;" class="">
_______________________________________________<br class="">swift-users mailing list<br class=""><a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-users<br class=""></div></blockquote></div><br class=""></body></html>