- On Windows, the profile is located at `~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1`
### Shell Setup
- For Mac/Linux, the profile is located at `~/.config/powershell/Microsoft.PowerShell_profile.ps1`
- For **WinCMD**, aka good old **Windows Command Prompt** or **Batch**, fnm is also supported but is not entirely covered. [You can set up a startup script](https://superuser.com/a/144348) and append the following line:
fnm needs to run some shell commands before you can start using it.
This is done by evaluating the output of `fnm env`. Check out the following guides for the shell you use:
```
#### Bash
FOR /f "tokens=*" %i IN ('fnm env --use-on-cd') DO CALL %i
```
#### Using Cargo (Linux/Mac/Windows)
add the following to your `.bashrc` profile:
```bash
```bash
cargo install fnm
eval "$(fnm env)"
```
```
## Completions
#### Zsh
fnm ships its completions with the binary:
add the following to your `.zshrc` profile:
```zsh
eval "$(fnm env)"
```
```
fnm completions --shell <SHELL>
#### Fish shell
create `~/.config/fish/conf.d/fnm.fish` add this line to it:
```fish
fnm env | source
```
```
Where `<SHELL>` can be one of the supported shells:
#### PowerShell
- `bash`
add the following to the end of your profile file::
- `zsh`
- `fish`
- `powershell`
Please follow your shell instructions to install them.