3月 13

Chocolatey – like yum or apt-get, but for Windows。Windows环境下的软件包管理工具,有几分像Ubuntu的apt-get,CentOS7/RHEL7的yum。

https://github.com/chocolatey/choco
https://chocolatey.org/
https://github.com/chocolatey/choco/wiki/Installation

拷贝下面命令,打开Windows的管理员命令提示符界面,粘贴回车。

@powershell -NoProfile -ExecutionPolicy unrestricted -Command "(iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))) >$null 2>&1" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

升级

choco upgrade chocolatey

安装Atom

choco install Atom

如果想用绿色版的Atom,可以去下载atom-windows.zip,但是不会自动升级,而且后续配置和第三方包什么的都还是在系统盘里面。C:\Users\panhezeng\.atom
https://github.com/atom/atom
Windows
Download the latest AtomSetup.exe installer.
Atom will automatically update when a new release is available.
You can also download an atom-windows.zip file from the releases page. The .zip version will not automatically update.
Using chocolatey? Run cinst Atom to install the latest version of Atom.
还有用的zip版,要自己添加apm命令到系统环境变量,才能直接使用,或者每次输入完整路径

cd /d D:\Program Files (x86)\Atom\resources\app\apm\bin
apm -h

written by panhezeng \\ tags:

Leave a Reply

Me

点这和我talk,panhezeng@gmail.com