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: hub/dev-environment/javascript/nodejs-on-windows.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Set up Node.js on native Windows
3
3
description: A guide to help you get your Node.js development environment set up directly on Windows.
4
4
ms.topic: article
5
-
ms.date: 11/26/2024
5
+
ms.date: 12/12/2024
6
6
---
7
7
8
8
# Install Node.js on Windows
@@ -29,14 +29,14 @@ Besides choosing whether to install on Windows or WSL, there are additional choi
29
29
> [!WARNING]
30
30
> NVM is designed to be installed per-user, and invoked per-shell. It is not designed for shared developer boxes or build servers with multiple build agents. NVM works by using a symbolic link. Using nvm in shared scenarios creates a problem because that link points to a user's app data folder -- so if user x runs `nvm use lts`, the link will point node for the entire box to their app data folder. If user y runs node or npm, they will be directed to run files under x's user account and in the case of `npm -g`, they will be modifying x's files, which by default is not allowed. So nvm is only prescribed for one developer box. This goes for build servers too. If two build agents are on the same vm/box, they can compete and cause odd behavior in the builds.
31
31
32
-
1. Follow the install instructions on the [windows-nvm repository](https://github.com/coreybutler/nvm-windows#installation--upgrades). We recommend using the installer, but if you have a more advanced understanding of your needs, you may want to consider the manual installation. The installer will point you to the [releases page](https://github.com/coreybutler/nvm-windows/releases) for the most recent version.
32
+
1. Follow the install instructions on the [nvm-windows repository](https://github.com/coreybutler/nvm-windows#installation--upgrades). We recommend using the installer, but if you have a more advanced understanding of your needs, you may want to consider the manual installation. The installer will point you to the [releases page](https://github.com/coreybutler/nvm-windows/releases) for the most recent version.
33
33
2. Download the **nvm-setup.zip** file for the most recent release.
34
34
3. Once downloaded, open the zip file, then open the **nvm-setup.exe** file.
35
35
4. The Setup-NVM-for-Windows installation wizard will walk you through the setup steps, including choosing the directory where both nvm-windows and Node.js will be installed.
36
36
37
37

38
38
39
-
5. Once the installation is complete. Open PowerShell (recommend opening with elevated Admin permissions) and try using windows-nvm to list which versions of Node are currently installed (should be none at this point): `nvm ls`
39
+
5. Once the installation is complete. Open PowerShell (recommend opening with elevated Admin permissions) and try using nvm-windows to list which versions of Node are currently installed (should be none at this point): `nvm ls`
40
40
41
41

42
42
@@ -58,13 +58,13 @@ Besides choosing whether to install on Windows or WSL, there are additional choi
58
58
59
59
### Alternative version managers
60
60
61
-
While windows-nvm is currently the most popular version manager for node, there are alternatives to consider:
61
+
While NVM for Windows (nvm-windows) is currently the most popular version manager for node, there are alternatives to consider:
62
62
63
63
-[nvs](https://github.com/jasongin/nvs) (Node Version Switcher) is a cross-platform `nvm` alternative with the ability to [integrate with VS Code](https://github.com/jasongin/nvs/blob/master/doc/VSCODE.md).
64
64
65
65
-[Volta](https://github.com/volta-cli/volta#installing-volta) is a new version manager from the LinkedIn team that claims improved speed and cross-platform support.
66
66
67
-
To install Volta as your version manager (rather than windows-nvm), go to the **Windows Installation** section of their [Getting Started guide](https://docs.volta.sh/guide/getting-started), then download and run their Windows installer, following the setup instructions.
67
+
To install Volta as your version manager, go to the **Windows Installation** section of their [Getting Started guide](https://docs.volta.sh/guide/getting-started), then download and run their Windows installer, following the setup instructions.
68
68
69
69
> [!IMPORTANT]
70
70
> You must ensure that [Developer Mode](/windows/uwp/get-started/enable-your-device-for-development#accessing-settings-for-developers) is enabled on your Windows machine before installing Volta.
Copy file name to clipboardExpand all lines: hub/powertoys/advanced-paste.md
+24-2Lines changed: 24 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: PowerToys Advanced Paste for Windows
3
3
description: A tool that enables you to paste the text from your clipboard into any format needed. It can be enhanced with an AI-powered option that is 100% opt-in and requires an OpenAI key.
4
-
ms.date: 11/19/2024
4
+
ms.date: 12/13/2024
5
5
ms.topic: concept-article
6
6
no-loc: [PowerToys, Windows, Paste as Plain Text, Advanced Paste, Win]
7
7
# Customer intent: Learn how to use the Advanced Paste feature in PowerToys to paste text from your clipboard into any format needed.
@@ -27,7 +27,8 @@ From the Settings menu, the following options can be configured:
27
27
28
28
| Setting | Description |
29
29
| :--- | :--- |
30
-
| Enable Paste with AI | Enables the AI-powered paste feature. An OpenAI API key is required (requires an account on [platform.openai.com](https://platform.openai.com/)). |
30
+
| Enable Paste with AI | Enables the AI-powered paste feature. An OpenAI API key is required (requires an account on [platform.openai.com](https://platform.openai.com/)). See [Paste text with AI](#paste-text-with-ai) for more information. |
31
+
| Enable advanced AI | Enables the Advanced AI feature which allows [Semantic Kernel](/semantic-kernel/overview/) to be used to define a chain of actions to be performed when using "Paste with AI". See [Paste with Advanced AI](#paste-with-advanced-ai) for more information.<br/><br/>This setting is off and disabled when Enable Paste with AI is disabled. When enabling Enable Paste with AI, Enable advanced AI is also enabled by default, allowing users immediate access to the feature. |
31
32
| Custom format preview | Enable to preview the output of the custom format before pasting. |
32
33
| Clipboard history | Enable to automatically save clipboard history. |
33
34
| Open Advanced Paste shortcut | The customizable keyboard command to open the **Advanced Paste** window. |
@@ -157,6 +158,27 @@ AI output when prompting to "Format the text as if it were written by Mark Twain
157
158
> [!NOTE]
158
159
> As with any AI tool, the quality of the output is dependent on the quality of the input. The more context you provide, the better the AI will be able to understand and respond to your request. Be sure to carefully review the output before using it. Please see OpenAI's [privacy](https://openai.com/policies/privacy-policy) and [terms](https://openai.com/policies/terms-of-use) pages for more info on AI usage in this feature.
159
160
161
+
### Paste with Advanced AI
162
+
163
+
This feature uses [Semantic Kernel](/semantic-kernel/overview/) to allow you to define a chain of actions to be performed when using "Paste with AI". Using this feature you can:
164
+
165
+
- Work with non-text input such as images.
166
+
- Produce non-text output like files.
167
+
- Chain multiple actions together and execute them in sequence. For example, Image to text --> Text to JSON text --> JSON text to .txt file.
168
+
- Produce meaningful AI-generated error messages.
169
+
170
+
For these example commands, assume there is an image in the clipboard that contains some text that you would like to save to a text file in another language. You can phrase multiple steps explicitly:
171
+
172
+
```
173
+
Convert this image to text using OCR, translate the text to French, and then save the text as a .txt file.
174
+
```
175
+
176
+
Or you can phrase the steps to be more implicit:
177
+
178
+
```
179
+
Translate to French and save as a .txt file.
180
+
```
181
+
160
182
## Advanced image paste
161
183
162
184
Advanced Paste includes several image-based paste options. These options are available in the **Advanced Paste** window, which can be opened using the activation shortcut. You can optionally set a quick key shortcut in settings.
Copy file name to clipboardExpand all lines: hub/powertoys/quick-accent.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ With the dialog enabled, keep pressing your activation key.
25
25
26
26
## Character sets
27
27
28
-
You can limit the available characters by selecting a character set from the settings menu. Available character sets are:
28
+
You can limit the available characters by selecting character sets from the settings menu. Available character sets are:
29
29
30
30
* Catalan
31
31
* Currency
@@ -69,7 +69,7 @@ From the Settings menu, the following options can be configured:
69
69
| Setting | Description |
70
70
| :--- | :--- |
71
71
| Activation key | Choose **Left/Right Arrow**, **Space** or **Left, Right or Space**. |
72
-
| Character set | Show only characters that are in the chosen set. |
72
+
| Character set | Show only characters that are in the chosen sets. |
73
73
| Toolbar location | Position of the toolbar. |
74
74
| Show the Unicode code and name of the currently selected character | Shows the Unicode code (in hexadecimal) and name of the currently selected character under the selector. |
Copy file name to clipboardExpand all lines: hub/powertoys/run.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -272,6 +272,7 @@ The following GUID versions are supported:
272
272
- v3 - Namespace and name based, using MD5
273
273
- v4 - Random value
274
274
- v5 - Namespace and name based, using SHA1
275
+
- v7 - Time-ordered random value
275
276
276
277
> [!NOTE]
277
278
> For versions 3 and 5 there are some predefined namespaces: DNS, URL, OID and X500. You can use the following predefined namespaces:
@@ -288,6 +289,7 @@ Examples:
288
289
|`# guid` <br />`# uuid` <br />`# uuidv4`| Generate a random GUID. |
289
290
|`# guidv1` <br />`# uuidv1`| Generate a version 1 GUID. |
290
291
|`# guidv3 ns:DNS www.microsoft.com` <br />`# uuidv3 ns:DNS www.microsoft.com`| Generate the GUID version 3 for `www.microsoft.com` using the DNS namespace. <br /> The namespace parameter can be any valid GUID, and the name parameter can be any string. |
292
+
|`# uuid7` <br /> `# guidv7`| Generate a random version 7 GUID with the first 48-bit corresponding to the current timestamp, providing a well-defined order of subsequently generated values. |
291
293
292
294
> [!TIP]
293
295
> The `guid` and `uuid` keywords are interchangeable and the `v` is optional. I.e. `guid5` and `guidv5` are the same.
0 commit comments