atom-package 安裝緩慢,手動安裝
根據udemy angela yu 的課程推薦,使用atom 編輯器學習web development,編輯器atom 包安裝緩慢,使用git 複製安裝
Atom Packages
Recommended
- atom-beautify
- atom-ternjs
- autoclose-html
- emmet
- csslint
- pigments
- language-ejs
Optional Packages
- atom-html-preview
- Sublime-Style-Column-Selection
- linter-eslint
手動安裝
apm是Atom Package Manager
$ apm
apm - Atom Package Manager powered by https://atom.io
Usage: apm <command>
where <command> is one of:
ci, clean, config, dedupe, deinstall, delete, dev, develop, disable, docs,
enable, erase, featured, home, i, init, install, link, linked, links, list,
ln, lns, login, ls, open, outdated, prune, publish, rebuild,
rebuild-module-cache, remove, rm, search, show, star, starred, stars, test,
uninstall, unlink, unpublish, unstar, update, upgrade, view.
Run `apm help <command>` to see the more details about a specific command.
選項:
--color Enable colored output [boolean] [預設值: true]
-v, --version Print the apm version
-h, --help Print this usage message
1. atom-beautify安裝
https://github.com/Glavin001/atom-beautify
#切換至atom安裝目錄
cd ~/.atom/packages
#使用git複製package內容
git clone https://github.com/Glavin001/atom-beautify
cd atom-beautify
npm install
npm: command not found 報錯:
npm: command not found
原因:系統中沒有 nodejs 環境
使用以下程式碼檢視 nodejs 版本
$ brew info node@10
node@10: stable 10.23.0 (bottled) [keg-only]
Platform built on V8 to build network applications
https://nodejs.org/
Not installed
From: https://mirrors.ustc.edu.cn/homebrew-core.git/Formula/node@10.rb
License: MIT
==> Dependencies
Build: pkg-config ✔
Required: icu4c ✘
==> Requirements
Required: macOS ✔
==> Caveats
node@10 is keg-only, which means it was not symlinked into /usr/local,
because this is an alternate version of another formula.
==> Analytics
install: 13,398 (30 days), 36,900 (90 days), 177,145 (365 days)
install-on-request: 10,981 (30 days), 30,949 (90 days), 155,213 (365 days)
build-error: 0 (30 days)
檢視系統中npm 版本,果然沒有
$ npm -v
-bash: npm: command not found
使用homebrew安裝
brew install node@10
安裝後測試:
$ npm -v
-bash: npm: command not found
可能環境配置不對,重新配置環境
參看文章:mac-環境配置檔案zsh及bash環境變數配置
$ echo 'export PATH="/usr/local/opt/node@10/bin:$PATH"' >> ~/.bash_profile
$ source .bash_profile
確認npm 版本
$ npm -v
6.14.8
切回atom包所在路徑
2. atom-ternjs安裝
https://github.com/tststs/atom-ternjs
3. autoclose-html安裝
https://atom.io/packages/autoclose-html
$ apm install autoclose-html
Installing autoclose-html to /Users/Rachel1900/.atom/packages ✓
4. emmet-atom安裝
官網 https://atom.io/packages/emmet
安裝步驟:
$cd ~/.atom/packages
$git clone https://github.com/emmetio/emmet-atom
$cd emmet-atom
$npm install
5. csslinte 安裝
https://atom.io/packages/csslint
CSSLint error reports for your Atom editor.
$ apm install csslint
Installing csslint to /Users/Rachel1900/.atom/packages ✓
6. pigments安裝
https://atom.io/packages/pigments
A package to display colors in project and files.
$apm install pigments
Installing pigments to /Users/Rachel1900/.atom/packages ✓
7. language-ejs安裝
https://atom.io/packages/language-ejs
EJS support for Atom.
git clone https://github.com/gregory-m/ejs-tmbundle
參考:
相關文章
- 手動安裝rubygems
- 快速手動安裝 msyql
- 如何手動安裝MySqlMySql
- pip安裝特別慢
- 手動安裝ROS2ROS
- nginx手動安裝基於類centos系統環境安裝NginxCentOS
- 靜默安裝and手動建庫
- Tigase手動安裝過程
- 【Hyperledger Fabric】Fabric 2.2 手動安裝
- 手動解除安裝oracle軟體Oracle
- Thinkpad 驅動安裝-傻瓜安裝ThinkPad
- eclipse 手動/自動安裝外掛Eclipse
- Jenkins 安裝外掛慢,提速Jenkins
- 在idea中手動安裝lombokIdeaLombok
- codis安裝 (java 安裝 + zookeeper 安裝 + go 安裝 + codis 安裝JavaGo
- 越獄手記:手動編譯安裝 Electra編譯
- Hbase安裝手冊
- Hive安裝手冊Hive
- postgis安裝手記
- RAC安裝手冊
- MHA安裝手記
- OneinStack一鍵PHP/JAVA/HHVM安裝及VPS手動安裝LNMPPHPJavaLNMP
- 手動安裝、驗證、解除安裝11g R2 oracle textOracle
- 親手安裝RabbitMq 3.7.2 並安裝Trace外掛MQ
- Tomcat手動啟動/部署[非安裝版]Tomcat
- centos手動編譯安裝apache、php、mysqlCentOS編譯ApachePHPMySql
- intellijIDEA手動安裝Scala外掛IntelliJIdea
- C++程式安裝解除安裝WDM驅動C++
- yarn的安裝,並使用yarn安裝vue腳手架YarnVue
- origin安裝進度條不動怎麼辦 origin安裝速度慢怎麼解決
- Erlang安裝手冊-windowsWindows
- sqlrelay 安裝手記(轉)SQL
- GP完整安裝手冊
- Ubuntu下無法手動啟動VMware Tools安裝Ubuntu
- 手動安裝Linux網路卡驅動程式薦Linux
- windows10安裝程式慢怎麼辦_win10安裝軟體響應特別慢如何提速WindowsWin10
- 使用免安裝版本在windows上手動安裝PostgreSQLWindowsSQL
- Ubuntu Nvidia driver驅動安裝及解除安裝Ubuntu