Skip to content

nem035/ember-install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ember-Install

Bash script to install/uninstall ember-cli.

Scripts

  • ember-install
    • script that uninstalls current ember cli, if one is installed, and installs the provided version (or latest if nothing is provided)

      # install ember cli
      # if you don't specify a version, ember-install will use the latest
      ember-install <version>
  • ember-uninstall
    • Script that uninstalls current ember cli

      # uninstall ember cli
      ember-uninstall

Installation

Clone the repo and remove the git tracking:

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

chmod +x ember-install
chmod +x ember-uninstall
chmod +x print_utils

Modify your path to add the directory with ember-install scripts:

  • Bash:

    echo 'export PATH=$PATH:/{{path_to_ember-install_dir}}' >> ~/.bashrc
  • Zsh

    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

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.

About

Bash script to install/uninstall ember-cli.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages