To install or update arcanist manager, you can use the install script using cURL:
curl -o- https://raw.githubusercontent.com/chazcb/arcanist-manager/master/install.sh | bashor Wget:
wget -qO- https://raw.githubusercontent.com/chazcb/arcanist-manager/master/install.sh | bashThe script clones the arcanist-manager repository to ~/.arcanist-manager and adds the source line to your profile (~/.bash_profile, ~/.zshrc, ~/.profile, or ~/.bashrc).
export ARCANIST_MANAGER_DIR="$HOME/.arcanist-manager"
[ -s "$ARCANIST_MANAGER_DIR/arcanist-manager.sh" ] && . "$ARCANIST_MANAGER_DIR/arcanist-manager.sh" # This loads arcanistTo verify that arcanist-manager has been installed, do:
command -v arcwhich should output 'arc'.
For manual install create a folder somewhere in your filesystem with the arcanist-manager.sh file inside it. I put mine in ~/.arcanist-manager.
Or if you have git installed (requires git v1.5.5+):
- clone this repo
- check out the latest version
- activate arcanist-manager by sourcing it from your shell
export ARCANIST_MANAGER_DIR="$HOME/.arcanist-manager" && (
git clone https://github.com/chazcb/arcanist-manager.git "$ARCANIST_MANAGER_DIR"
cd "$ARCANIST_MANAGER_DIR"
git checkout master
) && . "$ARCANIST_MANAGER_DIR/nvm.sh"Add these lines to your ~/.bashrc, ~/.profile, or ~/.zshrc file to have it automatically sourced upon login:
(you may have to add to more than one of the above files)
export ARCANIST_MANAGER_DIR="$HOME/.arcanist-manager"
[ -s "$NVM_DIR/arcanist-manager.sh" ] && . "$NVM_DIR/arcanist-manager.sh" # This loads arcanist-managerFor manual upgrade with git (requires git v1.5.5+):
- change to the
$ARCANIST_MANAGER_DIR - pull down the latest changes
- check out the latest version
- activate the new version
(
cd "$ARCANIST_MANAGER_DIR"
git fetch origin
git checkout master
) && . "$ARCANIST_MANAGER_DIR/arcanist-manager.sh"To upgrade to the latest version of arcanist:
arcanist-manager updateTo build build .arclint and .arcconfig within a project
arcanist-manager project initTo creationix/nvm for providing inspiration for arcanist-manager. I've pulled some parts of NVM's README and install scripts wholesale. For that reason, portions of this package are MIT licensed copyright of Tim Caswell and Jordan Harband.
arcanist-manager is released under the MIT license.
Copyright (C) 2016 Charles Covey-Brandt
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.