这里还有别的东西,我读了一个文件,
位于 /usr/local/bin/ 顶部的 cmets 中命名为 meteor 它是这样写的:
#!/bin/bash
# This is the script that we install somewhere in your $PATH (as "meteor")
# when you run
# $ curl https://install.meteor.com/ | sh
# It's the only file that we install globally on your system; each user of
# Meteor gets their own personal package and tools repository, called the
# warehouse (or, for 0.9.0 and newer, the "tropohouse"), in ~/.meteor/. This
# means that a user can share packages among multiple apps and automatically
# update to new releases without having to have permissions to write them to
# anywhere global.
#
# All this script does is exec ~/.meteor/meteor. But what if you don't have it
# yet? In that case, it downloads a "bootstrap tarball", which contains the
# latest version of the Meteor tools, and plops it down at ~/.meteor. In fact,
# once you've run this once, you don't even really need this script: you can put
# ~/.meteor/ into your PATH, or a symlink to ~/.meteor/meteor into some other
# PATH directory. No special permissions needed!
#
# To uninstall Meteor from your system, just delete this shell script, and
# delete your warehouse (~/.meteor/).
这是卸载流星的行:
# To uninstall Meteor from your system, just delete this shell script, and
# delete your warehouse (~/.meteor/).
瞧!仓库在哪里!你们中的一些人可能认为这个仓库是项目中的 .meteor 文件夹,但事实并非如此!
下面2-3行写着:
METEOR_WAREHOUSE_DIR="${METEOR_WAREHOUSE_DIR:-$HOME/.meteor}"
这就是仓库所在的地方!
重置 Meteor 项目由“meteor reset”完成,只会重置您的项目包。
附:这是流星 v1+