Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer not Working Windows #2114

Closed
mathstar13 opened this issue Jun 6, 2024 · 3 comments
Closed

Installer not Working Windows #2114

mathstar13 opened this issue Jun 6, 2024 · 3 comments

Comments

@mathstar13
Copy link

When I run the installer for Grain, I see nothing but a console window flash open and closed in less than a second. As far as I can tell, nothing has installed as I ran grain --version in command prompt and I got 'grain' is not recognized as an internal or external command, operable program or batch file..

I am on Windows 11, x64.

@ospencer
Copy link
Member

ospencer commented Jun 6, 2024

Hey @mathstar13, the binary download is not an installer—it is the compiler as an executable. You can put the binary on your PATH which will make the compiler available as grain-win-x64 unless you rename it to grain.exe. You can also invoke it without putting it on your PATH by invoking it as ./grain-win-x64.

@ospencer ospencer closed this as completed Jun 6, 2024
@mathstar13
Copy link
Author

@ospencer Thank you very much. After seeing your response I went back to the docs and saw the line "The Grain toolchain (including our CLI, compiler, runtime, and standard library) is shipped as a single binary." I completely skimmed over that when I read it. Thanks for pointing that out to me.

@ospencer
Copy link
Member

ospencer commented Jun 6, 2024

No problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants