https://github.com/nem035/ember-install
Bash script to install/uninstall ember-cli.
https://github.com/nem035/ember-install
bash ember ember-cli
Last synced: about 2 months ago
JSON representation
Bash script to install/uninstall ember-cli.
- Host: GitHub
- URL: https://github.com/nem035/ember-install
- Owner: nem035
- Created: 2016-05-20T19:49:10.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-11T18:03:01.000Z (almost 10 years ago)
- Last Synced: 2025-02-08T22:12:51.177Z (over 1 year ago)
- Topics: bash, ember, ember-cli
- Language: Shell
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ember-Install
Bash script to install/uninstall ember-cli.
## Scripts
- [ember-install](https://github.com/nem035/ember-install/blob/master/ember-install)
- script that uninstalls current ember cli, if one is installed, and installs the provided version (or latest if nothing is provided)
```bash
# install ember cli
# if you don't specify a version, ember-install will use the latest
ember-install
```
- [ember-uninstall](https://github.com/nem035/ember-install/blob/master/ember-uninstall)
- Script that uninstalls current ember cli
```bash
# uninstall ember cli
ember-uninstall
```
## Installation
Clone the repo and remove the git tracking:
```bash
git clone git@github.com:nem035/ember-install.git
cd ember-install
rm -rf .git
```
Of course one can just download the raw scripts as well.
*Note*: If necessary, make sure to make the scripts executable
```bash
chmod +x ember-install
chmod +x ember-uninstall
chmod +x print_utils
```
Modify your path to add the directory with `ember-install` scripts:
- Bash:
```bash
echo 'export PATH=$PATH:/{{path_to_ember-install_dir}}' >> ~/.bashrc
```
- Zsh
```bash
echo 'export PATH=$PATH:/{{path_to_ember-install_dir}}' >> ~/.zshrc
```
Assuming you are inside the `ember-install` directory, you can use `$(pwd)` instead of the path to that directory.
## Example
```bash
15:31:12 › ember-install 2.4.3
#########################################################
Uninstalling Ember-CLI
version: 2.4.2 node: 0.12.7 os: darwin x64
- abbrev@1.0.7 node_modules/ember-cli/node_modules/abbrev
- acorn@1.2.2 node_modules/ember-cli/node_modules/acorn
... # removed output for brevity
Done.
#########################################################
Cleaning NPM cache...
... # removed output for brevity
Done.
#########################################################
Cleaning Bower cache...
... # removed output for brevity
Done.
#########################################################
Installing ember@2.4.3 ...
... # removed output for brevity
Done.
```