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
參考:
相關文章
- 快速手動安裝 msyql
- Tigase手動安裝過程
- 手動安裝ROS2ROS
- Jenkins 安裝外掛慢,提速Jenkins
- nginx手動安裝基於類centos系統環境安裝NginxCentOS
- 靜默安裝and手動建庫
- 【Hyperledger Fabric】Fabric 2.2 手動安裝
- 在idea中手動安裝lombokIdeaLombok
- origin安裝進度條不動怎麼辦 origin安裝速度慢怎麼解決
- 越獄手記:手動編譯安裝 Electra編譯
- Ubuntu Nvidia driver驅動安裝及解除安裝Ubuntu
- 安裝npm 解除安裝npm 安裝apidocNPMAPI
- yarn的安裝,並使用yarn安裝vue腳手架YarnVue
- windows10安裝程式慢怎麼辦_win10安裝軟體響應特別慢如何提速WindowsWin10
- 安卓手機使用Alpine Term APK安裝Linux系統,並安裝docker安卓APKLinuxDocker
- BiocManager安裝,devtools安裝dev
- 如何安裝印表機驅動 印表機驅動安裝步驟
- UBUNTU手動安裝JDK的詳細步驟UbuntuJDK
- 『手撕Vue-CLI』自動安裝依賴Vue
- Arduino手動安裝ESP32開發包UI
- Linux安裝解除安裝MySQLLinuxMySql
- linux 安裝yum 安裝phpLinuxPHP
- Ubuntu解除安裝和安裝Ubuntu
- 02 安裝git、安裝TortoiseGitGit
- cocoapods安裝/解除安裝/使用
- JDK安裝和解除安裝JDK
- ffmpeg安裝之mac安裝Mac
- docker安裝及解除安裝Docker
- [ 安裝 ] Zeppelin安裝步驟!
- win10安裝版怎麼安裝_安裝版win10安裝教程Win10
- Android Studio 使用vivo手機真機執行時安裝spk安裝包總是安裝失敗Android
- Ubuntu18.04安裝/解除安裝NVIDIA顯示卡驅動Ubuntu
- ElasticSearch的安裝和使用,Postman的安裝,Kibana的安裝,EShead外掛的安裝ElasticsearchPostman
- Mindoc安裝與啟動
- 在Linux中,什麼是裝置驅動程式?如何安裝和解除安裝裝置驅動程式?Linux
- 手機termux安裝Linux發行版再安裝青龍皮膚Linux
- Mac Redis安裝與解除安裝MacRedis
- 安裝了IDLE後安裝tensorflow