You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/core/xpm/install.md
+57-43Lines changed: 57 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,10 +34,22 @@ For details, please read (carefully!) the
34
34
35
35
{% include important.html content="Please be sure you are installing **xpm** as the **xPack Project Manager**, since there are other projects that unfortunately use the same name (for example _uniX Package Manager_)." %}
36
36
37
-
## `xpm` install
37
+
{% capture uninstall %}
38
+
39
+
## Uninstall
40
+
41
+
To remove xpm, the command is:
42
+
43
+
```sh
44
+
npm uninstall --location=global xpm
45
+
```
46
+
47
+
{% endcapture %}
38
48
39
49
{% capture windows %}
40
50
51
+
## `xpm` install
52
+
41
53
On Windows, by default, global Node.js packages are installed in the
42
54
user home folder, in `%APPDATA%\npm`
43
55
(like `C:\Users\ilg\AppData\Roaming\npm`), and managing packages
@@ -132,6 +144,8 @@ at least for files in the
132
144
133
145
If this is not possible, temporarily disable the antivirus program.
134
146
147
+
{{ uninstall | markdownify }}
148
+
135
149
### xpm clean-ups
136
150
137
151
For a thorough clean-up, please note that **xpm** uses only two folders:
@@ -145,6 +159,8 @@ They can be removed at any time, and **xpm** will recreate them on new installs.
145
159
146
160
{% capture macos %}
147
161
162
+
## `xpm` install
163
+
148
164
On macOS, by default, global Node.js packages are installed in
149
165
`/usr/local`, and managing them requires administrative rights,
150
166
but if you followed the instructions in the
@@ -166,6 +182,8 @@ $ xpm --version
166
182
{{ page.xpm_version }}
167
183
```
168
184
185
+
{{ uninstall | markdownify }}
186
+
169
187
### xpm clean-ups
170
188
171
189
For a thorough clean-up, please note that **xpm** uses only two folders:
@@ -175,10 +193,46 @@ For a thorough clean-up, please note that **xpm** uses only two folders:
175
193
176
194
They can be removed at any time, and **xpm** will recreate them on new installs.
177
195
196
+
### macOS specifics
197
+
198
+
The default location used to install the global packages is
199
+
in `~/Library`, a folder that, due to an unfortunate Apple decision,
200
+
is hidden for regular browsing in Finder.
201
+
202
+
To make it back visible, use:
203
+
204
+
```sh
205
+
/usr/bin/chflags nohidden ~/Library
206
+
xattr -d com.apple.FinderInfo ~/Library
207
+
```
208
+
209
+
A more general solution is to make all hidden files visible:
0 commit comments