[docs] Add removal instructions to README.md
Closes #1767.
parent
bc87d3dd1c
commit
663bddee9b
18
README.md
18
README.md
|
@ -28,6 +28,8 @@
|
||||||
- [Usage](#usage-1)
|
- [Usage](#usage-1)
|
||||||
- [Compatibility Issues](#compatibility-issues)
|
- [Compatibility Issues](#compatibility-issues)
|
||||||
- [Installing nvm on Alpine Linux](#installing-nvm-on-alpine-linux)
|
- [Installing nvm on Alpine Linux](#installing-nvm-on-alpine-linux)
|
||||||
|
- [Removal](#removal)
|
||||||
|
- [Manual Uninstall](#manual-uninstall)
|
||||||
- [Docker for development environment](#docker-for-development-environment)
|
- [Docker for development environment](#docker-for-development-environment)
|
||||||
- [Problems](#problems)
|
- [Problems](#problems)
|
||||||
- [Mac OS "troubleshooting"](#mac-os-troubleshooting)
|
- [Mac OS "troubleshooting"](#mac-os-troubleshooting)
|
||||||
|
@ -500,6 +502,22 @@ The Node project has some desire but no concrete plans (due to the overheads of
|
||||||
|
|
||||||
As a potential alternative, @mhart (a Node contributor) has some [Docker images for Alpine Linux with Node and optionally, npm, pre-installed](https://github.com/mhart/alpine-node).
|
As a potential alternative, @mhart (a Node contributor) has some [Docker images for Alpine Linux with Node and optionally, npm, pre-installed](https://github.com/mhart/alpine-node).
|
||||||
|
|
||||||
|
## Removal
|
||||||
|
|
||||||
|
### Manual Uninstall
|
||||||
|
|
||||||
|
To remove nvm manually, execute the following:
|
||||||
|
```sh
|
||||||
|
$ rm -rf "$NVM_DIR"
|
||||||
|
```
|
||||||
|
|
||||||
|
Edit ~/.bashrc (or other shell resource config) and remove the lines below:
|
||||||
|
```sh
|
||||||
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
|
[[ -r $NVM_DIR/bash_completion ]] && \. $NVM_DIR/bash_completion
|
||||||
|
```
|
||||||
|
|
||||||
## Docker for development environment
|
## Docker for development environment
|
||||||
|
|
||||||
To make the development and testing work easier, we have a Dockerfile for development usage, which is based on Ubuntu 14.04 base image, prepared with essential and useful tools for `nvm` development, to build the docker image of the environment, run the docker command at the root of `nvm` repository:
|
To make the development and testing work easier, we have a Dockerfile for development usage, which is based on Ubuntu 14.04 base image, prepared with essential and useful tools for `nvm` development, to build the docker image of the environment, run the docker command at the root of `nvm` repository:
|
||||||
|
|
Loading…
Reference in New Issue