Skip to content

Commit

Permalink
docs: clean up activation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 12, 2025
1 parent 8ab4bce commit d4a67e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,16 +147,16 @@ echo 'eval "$(mise activate zsh)"' >> ~/.zshrc

== Windows

- When using `scoop`, mise is automatically activated
- If not using powershell, add `<homedir>\AppData\Local\mise\shims` to `PATH`.

```powershell [powershell]
$shimPath = "$env:USERPROFILE\AppData\Local\mise\shims"
$currentPath = [Environment]::GetEnvironmentVariable('Path', 'User')
$newPath = $currentPath + ";" + $shimPath
[Environment]::SetEnvironmentVariable('Path', $newPath, 'User')
```

- When using `scoop`, mise is automatically activated
- If not using powershell, add `<homedir>\AppData\Local\mise\shims` to `PATH`.

== Other package managers

::: code-group
Expand Down

0 comments on commit d4a67e8

Please sign in to comment.