1. 安裝 Rakudo
步驟參見 http://zh.perl6intro.com/ 的「1.3. 安裝 Perl 6」小節網絡
![clipboard.png clipboard.png](http://static.javashuo.com/static/loading.gif)
![clipboard.png clipboard.png](http://static.javashuo.com/static/loading.gif)
2. 下載並安裝 Atom
Atom網站:https://atom.io/網站
![clipboard.png clipboard.png](http://static.javashuo.com/static/loading.gif)
![clipboard.png clipboard.png](http://static.javashuo.com/static/loading.gif)
下方是Atom安裝完成以後跳出的界面atom
![clipboard.png clipboard.png](http://static.javashuo.com/static/loading.gif)
3. 安裝 packages
3.1. 點擊:File – Settings – Install
3.2. 在搜索框內鍵入「perl6」,點「Packages」鍵,開始搜索。
![clipboard.png clipboard.png](http://static.javashuo.com/static/loading.gif)
![clipboard.png clipboard.png](http://static.javashuo.com/static/loading.gif)
![clipboard.png clipboard.png](http://static.javashuo.com/static/loading.gif)
3.3. 安裝 「language-perl6」和「atom-perl6-editor-tools」兩個包。
![clipboard.png clipboard.png](http://static.javashuo.com/static/loading.gif)
3.4. Atom會提示要求安裝 一些依賴包(dependencies)。選擇「Yes」。
![clipboard.png clipboard.png](http://static.javashuo.com/static/loading.gif)
安裝完成後,「language perl」包自動轉到Disable狀態。spa
![clipboard.png clipboard.png](http://static.javashuo.com/static/loading.gif)
3.5. 在搜索框內鍵入「perl6」,點「Packages」鍵,搜索「Atom-runner」,並安裝。
若是在安裝過程當中不斷報錯,不管怎麼改仍是報錯。考慮大陸特殊的網絡問題。或者能夠過幾個小時或者隔天,等到網絡環境不一樣了,再試。3d
![clipboard.png clipboard.png](http://static.javashuo.com/static/loading.gif)
4. 修改Config
點擊 File – Configblog
![clipboard.png clipboard.png](http://static.javashuo.com/static/loading.gif)
![clipboard.png clipboard.png](http://static.javashuo.com/static/loading.gif)
留意:
「core」和「runner」左端對齊。ip
5. 建立新文件
5.1. File – New File
![clipboard.png clipboard.png](http://static.javashuo.com/static/loading.gif)
5.2. 輸入命令
5.3. Ctrl + S,存儲爲.pl6文件。後綴名手動輸入。
![clipboard.png clipboard.png](http://static.javashuo.com/static/loading.gif)
![clipboard.png clipboard.png](http://static.javashuo.com/static/loading.gif)
6. 運行代碼
點擊 Alt + R。找出結果界面。ci
![clipboard.png clipboard.png](http://static.javashuo.com/static/loading.gif)
感謝
以上內容爲柯列【3120101783 at zju.edu.cn】在配置 Atom 過程當中整理。get